Results 1 to 3 of 3
Hey All,
We are running Fedora 8 in VMware ESX and have a raw mapping (LUN) assigned to it. Everything has been installed no problems.
Now I wish to move ...
- 06-24-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
Moving VAR folder to another drive
Hey All,
We are running Fedora 8 in VMware ESX and have a raw mapping (LUN) assigned to it. Everything has been installed no problems.
Now I wish to move the var folder to the new drive which is also not formatted.
1. How do I format the additional drive? Then
2. How do I move the VAR folder permanently without losing any data and preserving the existing permissions?
My linux skills are limited but do I have experience in other areas.
Any help would be appreciated.
Rgards,
Mark
- 06-24-2009 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You can format the drive using either fdisk, mkfs, or any graphical application such as Gparted. Fedora itself may include a formatting tool. After that it's a simple matter of synchronising the data to the new location - I recommend rsync or tar for this job to preserve permissions.
Once that has been achieved you can add an entry in /etc/fstab for /var. You will need to find out the device name or blkid of the new partition/drive. To get started you might consider installing Gparted through Yum and formatting your drive - ext3 should be fine for this purpose.
- 06-24-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 2


Reply With Quote
