Can't partition my linode

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

3 Replies

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.

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.

@dmayorgap:

…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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct