[PLUG] Kernel changes external hard drive designation
Rich Shepard
rshepard at appl-ecosys.com
Sun Oct 20 13:44:34 UTC 2019
On Sat, 19 Oct 2019, Ben Koenig wrote:
> you want the UUID, not the PARTUUID. A simpler way to get this info
> quickly would be to use 'lsblk -o name,uuid' so that you can avoid the
> extra information.
Ben,
I had tried the disk UUID and the partition UUID. None worked.
> How do you have this declared in fstab?
Last night it occurred to me that there's a need to specify the string as a
UUID in fstab, which I had not done. So, just now I first ran 'lsblk -o
name,uuid':
NAME UUID
sda
├─sda1 5796-13DB
├─sda2 b7a5a639-e9b5-43c9-b528-77d6bb592899
└─sda3 c2286937-c658-40ee-b73d-0c80fcaa2a6b
sdb
├─sdb1 1debabd0-e753-468d-b119-0e76a1e4e5df
├─sdb2 98cb2b46-092e-4dc4-94cc-f4e54b946bae
└─sdb3 093ae060-fd8d-48d2-9f77-acc5dab0fc56
sdc
└─sdc1 6e95864b-6291-4148-acd3-627542c8318f
sr0
and then modified /etc/fstab:
UUID=6e95864b-6291-4148-acd3-627542c8318f /mnt/backup ext4 defaults 1 2
(do I need tabs between strings or will spaces do?)
However, when I try to initialize the /data partition the attempt still
fails:
[root at salmo /mnt/backup]# cd salmo-data/dirvish/
[root at salmo /mnt/backup/salmo-data/dirvish]# dirvish --vault salmo.appl-ecosys.com --init
cannot open config file: default.conf
Something is still missing.
Regards,
Rich
More information about the PLUG
mailing list