Visit the LQ Articles and Editorials section
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 01-16-2005, 09:56 AM   #1
Registered: Oct 2003
Posts: 134

Rep: Reputation: 15
Rename a partition?

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!!

Old 01-16-2005, 11:47 AM   #2
Registered: Aug 2002
Posts: 13,317

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
What do you need it for?
Old 01-16-2005, 01:08 PM   #3
Registered: Oct 2003
Posts: 134

Original Poster
Rep: Reputation: 15
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rename Fedora 3 hjl Linux - Newbie 1 03-23-2005 06:46 AM
Rename my pc ? Tanc Linux - Newbie 6 09-13-2003 08:28 AM
rename to lowercase Jalalabee Linux - Newbie 11 09-10-2003 11:44 AM
Mass Rename wickdgin Linux - Newbie 2 04-13-2003 02:29 PM
Rename Partition def1014 Linux - General 3 08-06-2002 04:33 PM

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration