Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Who creates /dev/xvda?
PostPosted: Fri Jun 18, 2010 10:43 pm 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
I upgraded my server today (Arch Linux - which I love for its simplicity of configuration and easy to use, logical package manager - but which I *hate* for its very poor quality packages that break each other and themselves all of the time!) for the first time in a while.

On reboot, the fsck of /dev/xvda failed because the /dev/xvda device does not exist.

So clearly, something changed that is causing this device to not be created.

My question is, does anyone know which part of the system is responsible for creating this file? I would expect it to be the udevd thing that automatically creates devices, but then, because this is Xen, I thought that maybe it's somehow the responsiblity of Xen. It could also be that it's the responsibility of the initrd scripts that Arch Linux uses.

I just don't know exactly what part of the boot up process I should be looking at to figure out why this device file is not available by the time fsck is run.

For what it's worth, I got past it by allowing the system to boot up without fsck'ing, then remounting the root file system read-write, then modifying /etc/fstab to have the root filesystem on /dev/xvda not be automatically fsck'd on boot. Now I can boot normally but my root filesystem is not being fsck'd as it should.

Thanks in advance for any advice.


Top
   
PostPosted: Sun Jun 20, 2010 8:07 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
bji wrote:
On reboot, the fsck of /dev/xvda failed because the /dev/xvda device does not exist.

udev indeed creates /dev/xvda, but udev fails to start properly on kernels other than Latest 2.6 Paravirt in some cases. If you change your configuration profile to Latest 2.6 Paravirt and reboot, the fsck should succeed.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


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


Who is online

Users browsing this forum: No registered users and 4 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