Assigning Disk Images to Devices in /dev late in the game
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?
2 Replies
Booting into Single User mode, transferring the contents of the sub-directories to the new partitions and then editing the fstab worked perfectly.