Re: [zones-discuss] Moving the zonepath (directory) to another file system

2008-11-19 Thread Bill Walker
Absolutely. I did just that a few months ago when my primary disk started running a bit slim on free space. :) - format new disk - halt zones - mount new disk on /mnt - cd /zones ; tar -cf - . | (cd /mnt; tar -xvpf - ) - (to be safe) mv /zones /zones.old - mkdir /zones - edit vfstab to add

Re: [zones-discuss] Moving the zonepath (directory) to another file system

2008-11-19 Thread David W. Smith
Bill, Thank you for the procedure and confirmation that this directory migration should not be a problem. David On Wed, 2008-11-19 at 11:22 -0500, Bill Walker wrote: Absolutely. I did just that a few months ago when my primary disk started running a bit slim on free space. :) - format

Re: [zones-discuss] Moving the zonepath (directory) to another file system

2008-11-19 Thread Amol Chiplunkar
On 11/19/08 07:36, David Smith wrote: I currently have my zonepath set to /zones/zonename on all my zones, however the /zones directory is on the boot drive and it is near to capacity now. Can I shut down all the zones and copy the /zones directory to a new filesystem (different disk)

Re: [zones-discuss] Moving the zonepath (directory) to another file system

2008-11-19 Thread Christine Tran
On Wed, Nov 19, 2008 at 2:16 PM, Amol Chiplunkar [EMAIL PROTECTED] wrote: I would also look at zoneadm -z zone move new-path e.g. zoneadm -z zone /large-filesystempath/zonepath Unless you are particular about '/zones' path, you don't even have to remount it as /zones This is a unique

Re: [zones-discuss] Moving the zonepath (directory) to another file system

2008-11-19 Thread Jeff Victor
It should be possible to: zoneadm -z zone move /zones/tmp/zone push disks around zoneadm -z zone move /original-dir That prevents a need to use zonecfg or doing unsupported things. Yes? On Wed, Nov 19, 2008 at 3:03 PM, Christine Tran [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 2:16 PM,