Hello
disk names change when i restart my server. What can I do to find the changed disk names easily. Also why does fdisk -l output two of the same disks? Here I am having a hard time choosing the disks during mounting.
disk names change when i restart my server. What can I do to find the changed disk names easily. Also why does fdisk -l output two of the same disks? Here I am having a hard time choosing the disks during mounting.
Code:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 252G 0 252G 0% /dev
tmpfs 252G 0 252G 0% /dev/shm
tmpfs 252G 4.1G 248G 2% /run
tmpfs 252G 0 252G 0% /sys/fs/cgroup
/dev/sda3 526G 362G 139G 73% /
/dev/sda2 3.9G 278M 3.4G 8% /boot
/dev/sda1 4.0G 8.8M 4.0G 1% /boot/efi
tmpfs 51G 12K 51G 1% /run/user/42
/dev/sdb1 11T 9.9T 418G 97% /soolean
/dev/sdh1 2.0T 1.3T 589G 69% /abc2
/dev/sdd1 2.6T 1.6T 891G 65% /abc
tmpfs 51G 0 51G 0% /run/user/1010
tmpfs 51G 0 51G 0% /run/user/0
Code:
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 599.6 GB, 599550590976 bytes, 1170997248 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: gpt
Disk identifier: 65C382E9-A466-48D8-9BA2-975C2C5D9D15
# Start End Size Type Name
1 2048 8390655 4G EFI System EFI System Partition
2 8390656 16779263 4G Microsoft basic
3 16779264 1137440767 534.4G Microsoft basic
4 1137440768 1170995199 16G Linux swap
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sdb: 11991.0 GB, 11991011819520 bytes, 23419944960 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: gpt
Disk identifier: 5E8382CF-C4E2-43D3-A403-968658F9FAAA
# Start End Size Type Name
1 2048 23419944926 10.9T Microsoft basic primary
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/mapper/mpathb: 11991.0 GB, 11991011819520 bytes, 23419944960 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: gpt
Disk identifier: 5E8382CF-C4E2-43D3-A403-968658F9FAAA
# Start End Size Type Name
1 2048 23419944926 10.9T Microsoft basic primary
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sdc: 2845.4 GB, 2845415833600 bytes, 5557452800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 65536 bytes
Disk label type: gpt
Disk identifier: FE381698-6B16-4EEC-8983-E7F515D564B2
# Start End Size Type Name
1 2048 5557452766 2.6T Microsoft basic primary
Disk /dev/sdd: 2147.5 GB, 2147492036608 bytes, 4194320384 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 65536 bytes
Disk label type: dos
Disk identifier: 0x8b955527
Device Boot Start End Blocks Id System
/dev/sdd1 2048 4194320383 2097159168 83 Linux
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sde: 2845.4 GB, 2845415833600 bytes, 5557452800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 65536 bytes
Disk label type: gpt
Disk identifier: FE381698-6B16-4EEC-8983-E7F515D564B2
# Start End Size Type Name
1 2048 5557452766 2.6T Microsoft basic primary
Disk /dev/sdf: 2147.5 GB, 2147492036608 bytes, 4194320384 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 65536 bytes
Disk label type: dos
Disk identifier: 0x8b955527
Device Boot Start End Blocks Id System
/dev/sdf1 2048 4194320383 2097159168 83 Linux