LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Rename a partition? (https://www.linuxquestions.org/questions/linux-enterprise-47/rename-a-partition-278433/)

xmdms 01-16-2005 09:56 AM

Rename a partition?
 
Hi,
I've created this /spare parttion at the time Installed RH AS 3.0 server and now I need that unallocated /spare partition. How would I go about doing so? Or what's the best practice??

Please help!!

Thanks,
JB

michaelk 01-16-2005 11:47 AM

What do you need it for?

xmdms 01-16-2005 01:08 PM

Ok...Guys & Gals out there.

This is how you do it:

1. As root, change dir to "/" example: cd /
2. mkdir /new_name
3. umount the partition that you no longer wanted to use
4. modify your fstab - example: vi /etc/fstab - modify the mount not the label. **best practice, make a copy of our fstab first **
5. mount your new partition example: mount -a

That's how easy it is.

JB


All times are GMT -5. The time now is 11:50 PM.