Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jul 15, 2008 3:16 am 
Offline
Newbie

Joined: Mon Jul 14, 2008 6:54 pm
Posts: 2
Website: http://www.it-architect.dk
Location: Denmark
Hi.

Yesterday, I finally got a VPS here at Linode :-)

I chose CentOS as a distro. Here I did little re-arranging in the device setup.

In the Linode config profile, things are configured as follows:

/dev/xvda -> CentOS 5.0 Disk Image (Root partition)
/dev/xvdb -> Data (Database etc. goes here) - changed from SWAP (default)
/dev/xvdc -> SWAP

When I booted the Linode, I noticed that SWAP was 0 ! Then I checked fstab to see that SWAP was still pointing at /dev/xvdb ! (Changed it ofcourse).

Just to inform You guys, if someone else is running their Linodes without SWAP, because of customization to the device setup.

_________________
Yours truly
IT architect


Top
   
 Post subject:
PostPosted: Tue Jul 15, 2008 10:36 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Hello,

Technically this isn't a bug, since the distro wizard deploys your images expecting device a to be root, and device b to be swap. Editing your configuration profile doesn't automatically update your fstab.

-Chris


Top
   
 Post subject:
PostPosted: Wed Jul 16, 2008 4:52 am 
Offline
Newbie

Joined: Mon Jul 14, 2008 6:54 pm
Posts: 2
Website: http://www.it-architect.dk
Location: Denmark
Hi again.

If it's "technically" not a bug - why have the option to change device-setup, if it does not reflect in the configuration once the distro has ben installed ?

Not to be harsh or anything, but as a new user - Isn't this very user-unfriendly ? (thought the device-setup, was to help the users / newbies, and not to complicate things).

In a user' world (my world from this point of view please try to understand me as a customer), this is a bug (technically or theoretically). If there is an option / possibility to change a config-parameter in the user-interface, but it does not "reflect" in the config-file once distro has been instaled, it must per defnition be an error according to common usability design practices ? or ?

Why should the option to change things (device setup) be in the Linode manager.

At the end of the day - I'm happy I found out that I did not have a SWAP assigned, and did the change to /etc/fstab manually. How many other users / newbies run without SWAP, because of this bug.

This post is NOT meant to offense anyone. Merely to pinpoint a "bug" / Irregularity.

I rest my case now.

/Anders.
caker wrote:
Hello,

Technically this isn't a bug, since the distro wizard deploys your images expecting device a to be root, and device b to be swap. Editing your configuration profile doesn't automatically update your fstab.

-Chris

_________________
Yours truly

IT architect


Top
   
 Post subject:
PostPosted: Wed Jul 16, 2008 5:53 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
Howdy,

I think you've mis-understood the options that the manager give you. Linode provide you with the virtual machine that you can configure however you want.

After you deploy a distro, it is entirely up to you how you set it up. Infact you dont even have to stick with the distributions that linode provide. You can re-roll your linode to have anything you want, Whilst a drive label/format might initially be 'swap' you could change that without updating the manager.

Some of us have multiple profiles in which we boot between that would put 'drives' in different locations. I certainly don't want the linode manager attempting to modify files on whatever my distribution may or may not be. The labels are purely cosmetic and don't always reflect what is there, so how would linode be able to tell which files to modify?

I assume your new to virtual machines, which might make this a little hard to understand at first. But you will find that most systems do not modify the OS when you change disk configurations. Vmware certainly doesn't, nor would i want it to.

I mean if you compare this to a physical machine, if you stick a new hard drive into your computer and that reorders your drive numberings, its up to you to change your config files to match, theres nothing that changes it for you. Why should it be the linode managers job to do that? Especially when it cant necessarily 'guess' what the drive is used for.

I think you will find the rest of the linode community does not see this as a bug, more how it is meant to work.

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Wed Jul 16, 2008 6:03 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
This is not a bug, it is a misunderstanding.

Altering your config profile is the approximate VPS equivalent of changing the hardware on a physical server. If you move disks to different controllers or add a new disk, you still have to edit /etc/fstab (or mount them by hand). Unlike physical disks, Linode images can be 'ready to use' but you can also use fdisk and the relevant format utility to install the weird filesystem of your choice, if you are that way inclined.

While Linode automatically fixes things like /etc/inittab to have the correct getty processes running, they can't really fix /etc/fstab - non-standard filesystems on raw images and users creating systems elsewhere and moving them to their Linode preclude this.

Edit: Internat beat me to it.

_________________
/ Peter


Last edited by pclissold on Wed Jul 16, 2008 7:04 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Jul 16, 2008 6:19 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
I'm in total agreement with Internap and pclissold, but I've also seen similar questions being asked in these forums a number of times. With shared hosts overselling like never before, and with the increasing complexity of Web 2.0 applications, more and more n00bs are being forced to use VPS nowadays. Of course there are fully managed VPS's out there, but they aren't exactly affordable. So apparently a lot of folks who have outgrown shared hosting are signing up on Linode.com and similar services. And many of them are really confused with the way things are done here.

Against this background, I think it would be great for the Linode staff to put a little more effort into making the (already fabulous) Linode Manager a bit more n00b-friendly. At least there could be a "Help" button on each page, where all the functions are explained and the usual mistakes clearly noted. In the case of itarchitect, a short paragraph comparing the device setup to a physical computer and telling the user to manually update /etc/fstab would have saved him/her at least a few minutes of frustration.

When it comes to price, quality of products, and support, Linode is the best host I've ever been with. But as the web hosting world begins to take VPS's more seriously than ever before, n00b-friendliness could be a significant factor in Linode's competitiveness.


Top
   
 Post subject:
PostPosted: Wed Jul 16, 2008 6:22 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
I think you need to go and read the second quote in my signature. I think that will pretty much some up the thoughts on the matter :)

_________________
ServerAdmin - www.our-lan.com

"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"

"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
PostPosted: Wed Jul 16, 2008 7:48 am 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
itarchitect wrote:
/dev/xvda -> CentOS 5.0 Disk Image (Root partition)
/dev/xvdb -> Data (Database etc. goes here) - changed from SWAP (default)
/dev/xvdc -> SWAP


So where do you want your "Data" image mounted? We don't know from looking at your post, and neither does the Dashboard.

Also, what if your / was formatted with reiserfs or xfs? The host is expected to know how to mount these partitions? Or what if the file system is ext4? I don't think the host's kernels are new enough to work with that.

The point of that ramble: The images work with the default config provided by the Distro wizard. You went beyond that configuration, so you know you changed something, so you should fix it. You can't assume that every variable in an environment as flexible as Linode can be accounted for.


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


Who is online

Users browsing this forum: No registered users and 3 guests


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