LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Adding a hard disk ....

[ILUG] Adding a hard disk ....

Declan Grady Declan.Grady at nuvotem.com
Wed Jul 14 13:59:07 IST 2004



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 ?
>>    
>>
>
>Insert Disk
>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 ?

Thanks,
Declan



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell