Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleblkid -c /dev/null >>> to get the name of the ext HDD
collapsetrue
[root@batpc1 ~]# blkid -c /dev/null
/dev/sda1: UUID="ead7f205-2bb9-47d0-b6ed-d9d13d411b4c" TYPE="xfs"
/dev/sda2: UUID="P3j7kk-CLGv-qmyl-8P1y-jsCY-My5S-fJJsUK" TYPE="LVM2_member"
/dev/mapper/centos-root: UUID="85ab5dec-40af-4aee-b75c-5b30d05a3972" TYPE="xfs"
/dev/mapper/centos-swap: UUID="28599d10-9f82-433d-acd6-64c40ba4a65d" TYPE="swap"
/dev/mapper/centos-home: UUID="155ccda9-9016-4140-8a2a-3a78a137b1a2" TYPE="xfs"
/dev/sdb1: LABEL="HD-LBU2" UUID="5ACC0E00CC0DD6E3" TYPE="ntfs"
/dev/sdc1: LABEL="Seagate Expansion Drive" UUID="DE222FBD222F9A13" TYPE="ntfs"
/dev/sdd1: LABEL="LaCie" UUID="6853-5BA9" TYPE="vfat"


Code Block
titlefdisk #fdisk -l /dev/sdd and #fdisk -l /dev/sdd1
collapsetrue
[root@batpc1 ~]# fdisk -l   

Disk /dev/sda: 80.0 GB, 80026361856 bytes, 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000d32ad

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000   83  Linux
/dev/sda2         1026048   156301311    77637632   8e  Linux LVM

Disk /dev/mapper/centos-root: 51.2 GB, 51208257536 bytes, 100016128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-swap: 3221 MB, 3221225472 bytes, 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-home: 25.0 GB, 25002246144 bytes, 48832512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x1702dfe0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              64  3907029119  1953514528    7  HPFS/NTFS/exFAT

Disk /dev/sdc: 2000.4 GB, 2000398929920 bytes, 488378645 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes
Disk label type: dos
Disk identifier: 0x90bbf8a2

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048   488378644  1953506388    7  HPFS/NTFS/exFAT

Disk /dev/sdd: 160.0 GB, 160041885696 bytes, 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xcdc00e29

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1              63   312576704   156288321    b  W95 FAT32

[root@batpc1 ~]#

...