Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 27, 2009 9:04 am 
Offline
Newbie

Joined: Thu Aug 27, 2009 8:57 am
Posts: 3
Hi everyone!

I recently bought a linode, i want to make partitions for /home /var and /tmp, i create disk image for this 3 partition, then deploy Centos, then edit profile and "link" this partitions to the devices (xvdc, xvdd, etc...), then boot and edit fstab, then i mount manually and everything ok except that it seems the nework its down, and when rebooting i cant ssh because it seems the network is down, can you help me guys? its like when i create partitions and add them to fstab, then reboot a i loose conectivity.

Thanks

Regards,

David


Top
   
 Post subject:
PostPosted: Thu Aug 27, 2009 2:31 pm 
Offline
Senior Member

Joined: Wed Apr 11, 2007 8:23 pm
Posts: 76
You might want to try logging in via LISH (Linode Shell) which gives you the Out-of-Band Console allowing you to see what went wrong during boot.


Top
   
 Post subject: how to partition
PostPosted: Fri Aug 28, 2009 4:07 am 
Offline
Newbie

Joined: Thu Aug 27, 2009 8:57 am
Posts: 3
Hi everyone!


I tried to partition my linode without success, this is what i do:

1.- Create 3 disk images ext3 (/tmp, /var, /home)
2.- Deploy Centos 5.3 and this creates the root image disk and the swap image, so now i have 5 images.
3.- Go into the Centos 5.3 profiles and link the images with the devices (xvda --> root image, xvdb --> swap, xvdc --> /tmp image, xvdd --> /var image, xvde --> /home image)
4.- Boot and type df, this only shows xvda and xvdb as swap.
5.- Edit fstab (xvdc ext3 defaults 0 0, and every other partition with same settings)
6.- Reboot and now weird things happen, ssh service is down, yum doesn't work, etc...

I'm i missing some step? Can anybody help me on how to partition my linode or point some document on how to do it?

Thanks in advance

Regards,

David M.


Top
   
 Post subject: Re: how to partition
PostPosted: Fri Aug 28, 2009 5:20 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
dmayorgap wrote:
…this is what i do:

Your list doesn't mention the step where you copy the contents of /var from xvda to xvdd. If you don't do this, when you reboot a whole bunch of things fail to start because they cannot write their pid files into the empty /var tree - they just blow up with a 'file or directory does not exist' message.

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group