Re Label partition/drive?
by GPGAgent from LinuxQuestions.org on (#5C3B8)
I've successfully repartitioned an old 1Tb hdd from an old machine to use as an external drive for backups.
I have an internal 2Tb drive in my machine and it has uses the UUID as it's labelCode:jonke@charlie:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb5 1.8T 1.6T 156G 92% /media/jonke/6e725920-1c32-4931-bab9-fc8c12d01128
jonke@charlie:~$See screenshot as well.
Now I've used e2label in the past on usb sticks and I'm 99.9% sure it's non-destructive, but before I risk it on a 2Tb drive with loads of files I want to keep, and too big to backup am I okay to do thisCode:sudo e2label /dev/sdb5 TWOTBDRIVEcheers
Attached Thumbnails


I have an internal 2Tb drive in my machine and it has uses the UUID as it's labelCode:jonke@charlie:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb5 1.8T 1.6T 156G 92% /media/jonke/6e725920-1c32-4931-bab9-fc8c12d01128
jonke@charlie:~$See screenshot as well.
Now I've used e2label in the past on usb sticks and I'm 99.9% sure it's non-destructive, but before I risk it on a 2Tb drive with loads of files I want to keep, and too big to backup am I okay to do thisCode:sudo e2label /dev/sdb5 TWOTBDRIVEcheers
Attached Thumbnails