Здравствуйте.
Есть:
1. UBUNTU Server 20.04
2. HDD WD Red 4Tb (WD40EFAX)
3. Желание подключить диск к точке монтирования /hhome
Мои действия:
- По мануалу, подключил диск, разметил, отформатировал, примонтировал, записал в fstab ...
- Перезагружаю систему имею следующее:
1. df -h
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3,8G 0 3,8G 0% /dev
tmpfs 784M 1,3M 783M 1% /run
/dev/sda3 219G 86G 123G 42% /
tmpfs 3,9G 0 3,9G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
/dev/sda2 275M 196M 59M 77% /boot
/dev/loop1 56M 56M 0 100% /snap/core18/1932
/dev/sdc1 916G 42G 829G 5% /home
/dev/loop0 56M 56M 0 100% /snap/core18/1944
/dev/loop3 32M 32M 0 100% /snap/snapd/10238
/dev/loop4 32M 32M 0 100% /snap/snapd/10492
/dev/loop2 71M 71M 0 100% /snap/lxd/16922
/dev/loop5 68M 68M 0 100% /snap/lxd/18150
/dev/sdb1 3,6T 5,5G 3,4T 1% /hhome
tmpfs 784M 0 784M 0% /run/user/1000
2. # sudo blkid
# sudo blkid
/dev/sdb1: UUID="fac62282-6b19-4d84-99fa-2725dd7ec7ce" TYPE="ext4" PARTLABEL="primary" PARTUUID="deb50f8d-8309-4faa-9089-bb529816ff9c"
/dev/sda2: UUID="a3aff602-3ec3-4e9c-951b-666dcae758b2" TYPE="ext4" PARTUUID="414c6161-d594-4e79-9e6f-7ccf598b2ae9"
/dev/sda3: UUID="bfe75e46-6cc5-4bdb-a30d-6136c98edd69" TYPE="ext4" PARTUUID="4e2db00d-5a30-4d1d-b24c-a4a20aae064a"
/dev/sdc1: UUID="972f438b-9df9-4ddc-abef-2e96449c353b" TYPE="ext4" PARTUUID="ae899f8d-ef67-4d15-9997-18971fe3b9b3"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/sda1: PARTUUID="957a53b3-9557-475d-a334-304121ce1e2b"
root@pegas:/etc# ^C
root@pegas:/etc# ^C
root@pegas:/etc# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3,8G 0 3,8G 0% /dev
tmpfs 784M 1,3M 783M 1% /run
/dev/sda3 219G 86G 123G 42% /
tmpfs 3,9G 0 3,9G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
/dev/sda2 275M 196M 59M 77% /boot
/dev/loop1 56M 56M 0 100% /snap/core18/1932
/dev/sdc1 916G 42G 829G 5% /home
/dev/loop0 56M 56M 0 100% /snap/core18/1944
/dev/loop3 32M 32M 0 100% /snap/snapd/10238
/dev/loop4 32M 32M 0 100% /snap/snapd/10492
/dev/loop2 71M 71M 0 100% /snap/lxd/16922
/dev/loop5 68M 68M 0 100% /snap/lxd/18150
/dev/sdb1 3,6T 5,5G 3,4T 1% /hhome
tmpfs 784M 0 784M 0% /run/user/1000
3. # parted /dev/sdb print
# parted /dev/sdb print
Model: ATA WDC WD40EFAX-68J (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4001GB 4001GB ext4 primary
4. cat /etc/fstab
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during curtin installation
/dev/disk/by-uuid/bfe75e46-6cc5-4bdb-a30d-6136c98edd69 / ext4 defaults 0 0
# /home was on /dev/sdb1 during curtin installation
/dev/disk/by-uuid/972f438b-9df9-4ddc-abef-2e96449c353b /home ext4 defaults 0 0
# /hhome was on /dev/sdb1 during curtin installation
#/dev/disk/by-partlabel/primary /hhome ext4 defaults 0 0
/dev/disk/by-uuid/fac62282-6b19-4d84-99fa-2725dd7ec7ce /hhome ext4 defaults 0 0
# /boot was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/a3aff602-3ec3-4e9c-951b-666dcae758b2 /boot ext4 defaults 0 0
/swap.img none swap sw 0 0
5. # fdisk -l
# fdisk -l
Disk /dev/loop0: 55,39 MiB, 58073088 bytes, 113424 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/loop1: 55,37 MiB, 58052608 bytes, 113384 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/loop2: 70,58 MiB, 73990144 bytes, 144512 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/loop3: 31,7 MiB, 32579584 bytes, 63632 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/loop4: 31,6 MiB, 32571392 bytes, 63616 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/loop5: 67,77 MiB, 71041024 bytes, 138752 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: 3,65 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFAX-68J
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 39DE87CB-07CC-4170-9BA1-171D864F63DE
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3,7T Linux filesystem
Disk /dev/sda: 223,58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SV300S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C0944E98-B15A-4030-A06E-ED52203DE822
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 618495 614400 300M Linux filesystem
/dev/sda3 618496 468858879 468240384 223,3G Linux filesystem
Disk /dev/sdc: 931,53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM003-1CH1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 36BEC8E3-97EA-4521-A8EC-1931FCD19F19
Device Start End Sectors Size Type
/dev/sdc1 2048 1953521663 1953519616 931,5G Linux filesystem
В общем все ОТЛИЧНО, но...
Стоит мне скопировать на примонтированный диск около 1-2 Гиг...
Диск отваливается и я имею ошибку:
"special device /dev/hdb1 does not exist"
Перезагружаю систему, все восстанавливается... до следующего обмена данными на "новом" диске.
Подскажите, что можно предпринять, или где искать грабли.