Brian Brazil wrote:
>On Wed, Jul 14, 2004 at 09:57:21AM +0100, Declan Grady wrote:
>>>>I dont know how to do this.... If i create a new /var/spool partition,
>>how do I get at the data in the current /var/spool directory ?
>Boot in single user mode
>(in lilo 'linux single' will probably do it. YMMV)
>Partition the new drive
>Format the new partition(s) (mkfs.<filesystem type>)
>Mount the new partition on /mnt
>copy data: cp -aR /var/spool/ /mnt
>umount /mnt (optional)
>umount /var/spool (also optional)
>mount /dev/hdb1 /var/spool
>init 3 #or whatever runlevel you normally use
>>>>OK. Sounds reasonable ... do I have to change the fstab file to point
/var to the new location ?
Also, any benefit in putting the /var/log, /var/export, and /var/spool
on separate partitions, or just make a /var on the new disk and put it
all there ?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!