Linode Forum Index Linode Forum
Linode Community Forums
 


Assigning Disk Images to Devices in /dev late in the game

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
Noice



Joined: 26 Aug 2009
Posts: 6

Posted: Wed Aug 26, 2009 2:20 am    Post subject: Assigning Disk Images to Devices in /dev late in the game  

Hi everybody.

I'm a new linode user, and so far it's great.

A little intro, I've used Ubuntu part-time for about a year (my first nix distro). I've muddled through mostly in the GUI, not in the Shell... but I've picked up a lot of the basics. This is my first real exploration into managing a remote server - without an IT dept, or resident nixGuru backing me up - so I apologize in advance if I accidentally walk off the n00b cliff. I'm googling my fingers crooked before asking things, I promise.

On to the issue at hand.

I setup disk images in the Dashboard as follows:

/var --> /xvdb
/usr --> /xvdc
/home --> /xvdd
+ a few others

I moved on to some configuration stuff, and then realized that I had assumed that those assignments would translate to the config. After a smoke break, I returned and thought to myself, "how much space have I used on those partitions?". I popped open /etc/fstab (to remind myself of the dev assignments) and realized that I had /etc/faceStabbed myself.

Swap is on /xvdb (not ~f as I arranged). I guess that I worked that out in the Dashboard while the server was booted.

<-- obvNewb

So the question is, what's the best way to move forward. Will rebooting the server and moving the contents be the way? Or will that lead to a plethora of pain?

Should I just wipe the install, and begin anew?
Back to top  
jed



Joined: 28 Mar 2009
Posts: 394
Location: New Jersey

Posted: Wed Aug 26, 2009 2:39 am    Post subject:  

The fstab as deployed is designed for the base case, of a root partition and a swap. You are free to edit fstab all you like -- which sounds like the approach that you need.
Back to top  
Noice



Joined: 26 Aug 2009
Posts: 6

Posted: Mon Aug 31, 2009 9:03 pm    Post subject:  

Thanks jed, and sorry for the late reply.

Booting into Single User mode, transferring the contents of the sub-directories to the new partitions and then editing the fstab worked perfectly.
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1