Results 1 to 6 of 6
I used the commands
Code:
sudo umount /dev/sda5
and then
Code:
sudo e2label /dev/sda5 data
for change a partition label on my HD.
Then i mounted and used this partition ...
- 09-26-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 4
I changed partition label and i used this without reboot... safe or dangerous?
I used the commands
and thenCode:sudo umount /dev/sda5
for change a partition label on my HD.Code:sudo e2label /dev/sda5 data
Then i mounted and used this partition without reboot (the label changed only after a reboot), is this safe or dangerous? i have very important data on this partition... thank you.
- 09-26-2009 #2
As for as I know,if you remove an existing/modify label ,then that will create issues with /boot/grub.conf and /etc/fstab (isometimes labels used here to mount or boot)
I don't think adding a new label,will create any issues during reboot.
I'm not 100% sure about my statement
So better wait for some LF member to confirm this.
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 09-26-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 4
No, i haven't troubles with grub/fstab configuration.
When you change a partition label on your hard disk with e2label, you can see the new label only after a reboot.
My question is: before reboot i re-mounted and used this partition, can this create some issue?
- 09-26-2009 #4
I've noticed that these days many distros (except maybe Red Hat) use UUIDs to identify partitions instead of labels, so changing a label has no positive or negative effect.
- 09-26-2009 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 4
In /etc/fstab i used always UUIDs to identify partitions on my hard disk.
- 09-26-2009 #6Just Joined!
- Join Date
- Sep 2009
- Posts
- 4
I've read some document because i'm curious to know why i have to reboot to see the new label on my partitions (i know that linux must be rebooted just when kernel is updated).
Maybe i'm wrong because i'm a n00b
but i try to give my thesis:
labels are located in /dev/disk/by-label path and are readed at kernel boot.
It's wrong?


Reply With Quote
