<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fstab &#8211; My Web Development</title>
	<atom:link href="https://mywebdevelopment.org/tag/fstab/feed/" rel="self" type="application/rss+xml" />
	<link>https://mywebdevelopment.org</link>
	<description>Always learning something new..</description>
	<lastBuildDate>Sat, 15 Nov 2014 23:45:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>CentOS Cannot stat() mounted device /dev/root</title>
		<link>https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/</link>
				<pubDate>Wed, 14 Nov 2012 17:48:36 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[fstab]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=113</guid>
				<description><![CDATA[<p>cannot stat() mounted device /dev/root No such file or directory CentOS 6.2 &#38; Xen Linode VPS The DISK USED in both cPanel &#38; WHM, do not reflect correct data size. According to cPanel, I require /dev/root in order for userquota to be mounted. root@host [/]# quota -sv quota: Cannot stat() mounted device /dev/root: No such… <span class="read-more"><a href="https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/">CentOS Cannot stat() mounted device /dev/root</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<h2><strong>cannot stat() mounted device /dev/root No such file or directory</strong></h2>
<p><strong>CentOS 6.2 &amp; Xen Linode VPS</strong></p>
<p>The DISK USED in both cPanel &amp; WHM, do not reflect correct data size.</p>
<p>According to cPanel, I require /dev/root in order for userquota to be mounted.</p>
<p><span style="color: #993300;">root@host [/]# quota -sv</span><br />
<span style="color: #993300;"> quota: Cannot stat() mounted device /dev/root: No such file or directory</span></p>
<p>As such, cPanel cannot run it&#8217;s account usage calculation properly (database sizes are calculated separately).</p>
<p>According to cPanel,<br />
It will likely require that /dev/ assuming the kernel does not force create it when usrquota is enabled. The primary partition should also be mounted with usrquota, and currently, it doesn&#8217;t appear that journaled quotas are supported by cPanel at this time, and will likely interfere with functionality, we would recommend disabling it.</p>
<hr />
<p>Someone posted on <a title="Frustrating Quota Error with CentOS &amp; Xen" href="http://forums.cpanel.net/f5/frustrating-quota-error-centos-6-2-xen-260462.html" target="_blank">cPanel&#8217;s forum</a> the problem with solution.<br />
They resolved there error, by contacting hosting VPS provider, and host made it so VPS is booted with it&#8217;s own kernal.</p>
<p>However, if you&#8217;re using Linode..<br />
<span style="color: #000080;">&#8220;I&#8217;m not sure Linode would do that for you but it&#8217;s definitely their problem and you may ask them to update their guest systems kernel because you experience problems. Or just use my other work around &#8211; which is the best way to live in that situation.&#8221; -Grigor</span></p>
<p>Just create a new rule for the udev daemon and add:<br />
<span style="color: #993300;"># KERNEL==&#8221;xvda1&#8243;, SUBSYSTEM==&#8221;block&#8221;, SYMLINK+=&#8221;root&#8221;</span></p>
<p>Here&#8217;s how to do it in one line:<br />
<span style="color: #993300;"># echo &#8216;KERNEL==&#8221;xvda1&#8243;, SUBSYSTEM==&#8221;block&#8221;, SYMLINK+=&#8221;root&#8221;&#8216; &gt; /etc/udev/rules.d/99-root-link.rules</span></p>
<p><em>and reboot!</em><br />
<span style="color: #800000;"># reboot</span></p>
<hr />
<p><strong>Resources:</strong></p>
<p>Quota Error on CentOS &amp; Xen: <a title="Frustrating Error with Quota &amp; Disk Space with CentOS &amp; Xen" href="http://forums.cpanel.net/f5/frustrating-quota-error-centos-6-2-xen-260462.html" target="_blank">http://forums.cpanel.net/f5/frustrating-quota-error-centos-6-2-xen-260462.html</a><br />
Quotas problem on CentOS 6.2 64bit: <a title="Quotas problem on CentOS 6.2 64bit" href="http://forum.linode.com/viewtopic.php?t=8294" target="_blank">http://forum.linode.com/viewtopic.php?t=8294</a><br />
How the fstab is commonly used: <a title="fstab and how it's commonly used WikiPedia" href="http://en.wikipedia.org/wiki/Fstab" target="_blank">http://en.wikipedia.org/wiki/Fstab</a><br />
Fix for File System Quotas: <a title="FIX FOR FILE SYSTEM QUOTAS /DEV/ROOT SYMLINK BREAKS (LINODE CENTOS 6.X)" href="http://www.daftspunk.com/code/fix-for-file-system-quotas-devroot-symlink-breaks-linode-centos-6-x">http://www.daftspunk.com/code/fix-for-file-system-quotas-devroot-symlink-breaks-linode-centos-6-x</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/">CentOS Cannot stat() mounted device /dev/root</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
	</channel>
</rss>
