Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vps:mknod-dev-xvd [2010-06-16 15:35:05]
shaun.reitan
vps:mknod-dev-xvd [2011-08-10 20:49:14]
garrett.plasky Approved
Line 1: Line 1:
 ====== Manually Creating Xen Disk Block Devices in /dev ====== ====== Manually Creating Xen Disk Block Devices in /dev ======
-On newer distros normally udev will create these devices but in some cases it doesnt know how to.  Our distros are deployed with the devices already created so that it's not a problem.  If your building your own distro or managed to foobar you /dev directory you may need to create the xvda, xvdb, xvdc... devices.  Below shows how to do this.+On newer distros normally udev will create these devices but in some cases it doesnt know how to. Our distros are deployed with the devices already created so that it's not a problem. If you're building your own distro or managed to fubar your /dev directory however, you may need to create the xvd[a-h] block devices manuallyThe <c>mknod</c> commands below will (re)create these devices.
  
-<code console> +<sxh shell>mknod /dev/xvda b 202 0
-mknod /dev/xvda b 202 0+
 mknod /dev/xvdb b 202 16 mknod /dev/xvdb b 202 16
 mknod /dev/xvdc b 202 32 mknod /dev/xvdc b 202 32
Line 10: Line 9:
 mknod /dev/xvdf b 202 80 mknod /dev/xvdf b 202 80
 mknod /dev/xvdg b 202 96 mknod /dev/xvdg b 202 96
-mknod /dev/xvdh b 202 112 +mknod /dev/xvdh b 202 112</sxh>
-</code>+
  
  
 {{tag>how-to vps}} {{tag>how-to vps}}