Zone images not available on larger partition

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
BKahler
Posts: 48
Joined: Fri Jun 17, 2005 11:23 am
Location: Arkansas, USA

Post by BKahler »

rdmelin wrote:BKahler now that I've had time to read this whole thread properly I have a couple suggestions.
If you just want a large partition for event storage you can choose a large partition for /var when installing. This is my standard practice.
Thanks for the reply. Unfortunately I don't have time right now to go through a re-install. I'm heading out of town on an extended job assignment and won't be able to work on the system after Sunday night. I plan on building a new & faster machine while I'm on my assignment but it will be a few months before it gets installed here at home. So Sunday is my drop dead date to try and get the system to recognize the new partition.
If you dont want to reinstall and want events only on a separate partition you can mount the partition on /var/www/html/zm/events.
Since I am a linux newbie would you mind providing the command sequence to perform this?
Or you can delete the events directory and make events a symlink to the mount point of the partition.
I actually like this idea better.

I assume the command sequence would be like this:

1) Delete all files AND the dirctory /var/www/html/zm/events

2) This is where I get confused. Do I create a symlink in the /var/www/html/zm directory called "events"? If so what is the format of the command line
ln -s ????????????? ?????????????

Either way will require no changes in config of zm or apache as apache is already configured to allow symlinks (so it will work running from the livecd)
Thanks!

Brad
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

I actually like this idea better.

I assume the command sequence would be like this:

1) Delete all files AND the dirctory /var/www/html/zm/events

2) This is where I get confused. Do I create a symlink in the /var/www/html/zm directory called "events"? If so what is the format of the command line
ln -s ????????????? ?????????????
OK first "cd /var/www/html/zm"
Then "sudo rm -rf events"
Then suppose the partition you want to use is mounted at /mnt/hda7
Do "sudo chown apache.apache /mnt/hda7"
And finally "sudo ln -s /mnt/hda7 events"
BKahler
Posts: 48
Joined: Fri Jun 17, 2005 11:23 am
Location: Arkansas, USA

Post by BKahler »

OK first "cd /var/www/html/zm"
Then "sudo rm -rf events"
Then suppose the partition you want to use is mounted at /mnt/hda7
Do "sudo chown apache.apache /mnt/hda7"
And finally "sudo ln -s /mnt/hda7 events"
The df command gives me the following information:

/dev/hda1 7.7 gig mounted as /

/dev/hda6 62 gig mounted as /usr

/dev/hdb1 75 gig mounted as /mnt/win_c


Ok, so in my case I would use the commands as follows:

cd /var/www/html/zm

sudo rm -rf events

sudo chown apache.apache /usr

sudo ln -s /usr events


Thanks!

Brad
Post Reply