Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Feb 24, 2011 7:22 am 
Offline
Senior Newbie

Joined: Thu Feb 24, 2011 7:19 am
Posts: 18
UPDATE:
I have just received an update from Linode to say that this issue has now been fixed for new deployments of Debian 6.

For everyone with the issue on existing deployments, you need to run the following command:

Code:
ln -s /dev/xvda /dev/root


(Substitue xvda with the device you are using as root, if needed)
__________________________________________

Hi,

I had previuosly been running Ubuntu 10.04 with Virtualmin and everything worked fine. Virtualmin recently announced support for Debian 6, so I backed up all my data and sought to rebuild my linode with Debian 6.

Now there seems to be a problem, I'm not sure if it is a Linode one or a Virtualmin one, or a combination of both. I have found other Linode users have the same problem. Please see this thread on Virtualmin for the problem, including my comments:

http://www.virtualmin.com/node/17281

Thanks.

EDIT:

I opened a support ticket with Linode and got this response:
Quote:
I'm sorry to hear about the issues you're having! However, it doesn't appear that /dev/root exists on our default Debian 6 distribution template:

=
debian:~# ls /dev/|grep root
debian:~#
=

I'm not specifically familiar with setting up quotas, however you may want to reach out to our active user community for assistance. Many of our customers are system administrators who can offer excellent advice. You can find more information about our forums and IRC channel at:

http://www.linode.com/community/


Last edited by alexp999 on Fri Feb 25, 2011 5:10 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 9:04 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
what does cat /proc/mounts show ?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 9:45 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
I have the same problem exactly- my /proc/mounts shows:
Code:
linpear:~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime,errors=remount-ro,data=writeback,usrquota,grpquota 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0

_________________
--
Chris Bryant


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 9:51 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
bryantrv wrote:
I have the same problem exactly- my /proc/mounts shows:
Code:
linpear:~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime,errors=remount-ro,data=writeback,usrquota,grpquota 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0


Well you have /dev/root in /proc/mounts which is good does
Code:
ls /dev | grep root
come up empty for you too?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 9:55 am 
Offline
Senior Newbie

Joined: Thu Feb 24, 2011 7:19 am
Posts: 18
From what I've seen this only seems to affect people running Debian 6 at Linode. Could it be that there is a bug in their distro?

Or maybe just some config we need to set up that on the Linode distro isnt already done by default?

I believe a workaround is to create a dev/root symlink, but it doesnt seem like a proper fix.


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 9:57 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
obs wrote:
Well you have /dev/root in /proc/mounts which is good does
Code:
ls /dev | grep root
come up empty for you too?


Yes.

_________________
--

Chris Bryant


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 10:31 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Alright I just installed debian 6 from the debian website on vmware and /dev/root is symlinked to /dev/sda so symlinking does seem like the correct fix (just to whatever your root device is in your case, probably /dev/xvda). One of you having problems could poke linode support with a pointy stick and ask them if they can add the symlink to their distro.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 10:35 am 
Offline
Senior Newbie

Joined: Thu Feb 24, 2011 7:19 am
Posts: 18
Ah so symlink is the correct fix. Ill update my ticket.

Thanks for the investigatory help!


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 11:03 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Dumb question, but that would be :
ln -s /dev/root /dev/xvda wouldn't it? I try that and get a file exists error.

_________________
--

Chris Bryant


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 11:05 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
wrong way round it's
Code:
ln -s /dev/xvda /dev/root
it's ln [source] [dest]

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 11:10 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Thanks- I always have trouble with that, from the first time I tried to get the java plugin working on my local machine :).

_________________
--

Chris Bryant


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 11:58 am 
Offline
Senior Newbie

Joined: Thu Feb 24, 2011 7:19 am
Posts: 18
I have had a reply back from Linode, their distro team is currently looking into it.


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 12:33 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Well- no joy for me yet. It does get farther, but now gives this error:
Error: setquota: Cannot open quotafile //aquota.user: Permission denied
setquota: Not all specified mountpoints are using quota.

For me it's not a huge deal, just a pain.

I really don't understand why it is a Linode issue (though it does appear to be), because it was working fine before I upgraded to Squeeze, so I'm not using a Linode Debian 6 image, but a Debian 5 image upgraded.

_________________
--

Chris Bryant


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 12:45 pm 
Offline
Senior Newbie

Joined: Thu Feb 24, 2011 7:19 am
Posts: 18
I'm at work at the moment so cant test the symlink out, when I get back I'll see if just adding the symlink to a clean Deb 6 distro, fixes it.


Top
   
 Post subject:
PostPosted: Thu Feb 24, 2011 1:29 pm 
Offline
Senior Newbie

Joined: Thu Feb 24, 2011 7:19 am
Posts: 18
bryantrv wrote:
Well- no joy for me yet. It does get farther, but now gives this error:
Error: setquota: Cannot open quotafile //aquota.user: Permission denied
setquota: Not all specified mountpoints are using quota.

For me it's not a huge deal, just a pain.

I really don't understand why it is a Linode issue (though it does appear to be), because it was working fine before I upgraded to Squeeze, so I'm not using a Linode Debian 6 image, but a Debian 5 image upgraded.


Just a quick thought, if you are using Deb 5 upgraded to 6, then that means it has nothing to do with the Deb 6 distro that Linode have.....

I'm getting more confused, lol.


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