Re: moving the /var partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> ...and then just rename them and modify your fstab file.
>
> This is the part I don't understand. Is this done simply by changing the
>  partitions labels, using tune2fs?
>
> tune2fs -L /temp /dev/hda7
> tune2fs -L /var /dev/hdb1
> tune2fs -L /user /dev/hda7

Rename the folders using mv like below.  You should (optionally) also
change the labels using the command you mentioned above.  Your /etc/fstab
file can contain labels or the partition numbers, either will work fine.

>> mv /var /var.old
>> mv /user /var
>> mv /var.old /user

Chris



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux