Submitted by zerocoldgm on Fri, 10/18/2013 - 01:43
I have 2 Vps with 2 licenses of Virtualmin, where in the first and 'installed Linux Ubuntu 10.04.3 Server everything works fine, the second server when I try to import a domain after backup, everything goes well but saved mail folders disappear and there is only "inbox" with all the mails arrive, to be short the internal configuration of the mail lost if I go to edit the user account "quita disk" and "Use dimension" and 'missing and also lacks the option "share home directory. "
Attaching photos ... Can you help me?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Fri, 10/18/2013 - 08:49 Comment #1
Howdy -- there are a few possible causes for that.
The first thing I'd like to do is verify that disk quotas are enabled and working properly.
Can you paste in the output you receive when you go into System Settings -> Re-Check Config?
Submitted by zerocoldgm on Sat, 10/19/2013 - 03:47 Comment #2
thanks for everything, I looked in the position shown and actually appears to me this "/ Linux Native Filesystem /dev/root User and Group Quotas Inactive Enable Quotas "
so it is inactive how can I solve the problem??
Many thanks
Roby
Submitted by zerocoldgm on Sat, 10/19/2013 - 03:49 Comment #3
of course I tried to enable it through the function key but to no effect
Roby
Submitted by andreychek on Sat, 10/19/2013 - 09:08 Comment #4
What kind of VPS are you using? For example, is it Xen, KVM, or OpenVZ?
And what is the output of the command
mount
?Submitted by zerocoldgm on Sat, 10/19/2013 - 13:57 Comment #5
the hypervisor is Esxi the Output of command Mount is :
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback,usrquota,grpquota)
devtmpfs on /dev type devtmpfs (rw,relatime,size=6149124k,nr_inodes=1537281,mode=755)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/fuse/connections type fusectl (rw,relatime)
none on /sys/kernel/security type securityfs (rw,relatime)
none on /run type tmpfs (rw,nosuid,noexec,relatime,size=1229920k,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
none on /run/shm type tmpfs (rw,nosuid,nodev,relatime)
Submitted by zerocoldgm on Sat, 10/19/2013 - 13:58 Comment #6
i've the same problem whit Centos 6.4 and Ubuntu 12.04
Submitted by zerocoldgm on Sat, 10/19/2013 - 15:57 Comment #7
i've olso a Vps under Hypervisro Xen server 6 and everything works well... this is the disk report under virtualmin : Photo1
This instead these configurations where the quota is 'disable Photo2 Is Ubuntu server 12.04 Lts Photo3 is Centos 6.4
Submitted by andreychek on Sat, 10/19/2013 - 18:21 Comment #8
On your Ubuntu system that's not working properly, what output do you receive if you run this command as root:
/etc/init.d/quota start
Submitted by zerocoldgm on Sun, 10/20/2013 - 02:46 Comment #9
this is the output
quotaon: Cannot stat() mounted device /dev/root: No such file or directory
Submitted by andreychek on Sun, 10/20/2013 - 08:46 Comment #10
Hmm, that's unusual -- the mount command shows that your root filesystem is on
/dev/root
, but that device doesn't actually seem to exist.The quota tools need /dev/root to exist in order to work properly.
What is the output of these commands:
cat /etc/fstab
cat /etc/mtab
df -h
ls -l /dev/root
Submitted by zerocoldgm on Sun, 10/20/2013 - 09:17 Comment #11
this is the output:
cat /etc/fstab
/dev/sda1 / ext3 grpquota,usrquota,rw 0 1
/dev/sda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
dev /dev devtmpfs rw 0 0
cat /etc/mtab
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,relatime,errors=continue,barrier=1,data=writeback,usrquota,grpquota 0 0
devtmpfs /dev devtmpfs rw,relatime,size=6149124k,nr_inodes=1537281,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
none /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /sys/kernel/security securityfs rw,relatime 0 0
none /run tmpfs rw,nosuid,noexec,relatime,size=1229920k,mode=755 0 0
none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 395G 2.1G 373G 1% /
/dev/root 395G 2.1G 373G 1% /
devtmpfs 5.9G 4.0K 5.9G 1% /dev
none 1.2G 268K 1.2G 1% /run
none 5.0M 4.0K 5.0M 1% /run/lock
none 5.9G 0 5.9G 0% /run/shm
ls -l /dev/root
ls: cannot access /dev/root: No such file or directory
Submitted by andreychek on Mon, 10/21/2013 - 10:56 Comment #12
Hmm, that's pretty unusual -- I'm not sure how it's using a device for the root filesystem that doesn't actually exist... however, I suspect that by creating a symlink, that we may be able to get the quotas working.
To do that, run this command as root:
ln -s /dev/sda1 /dev/root
Once you do that, are you then able to enable the quotas?
Submitted by zerocoldgm on Wed, 10/23/2013 - 05:59 Comment #13
I had already 'adopted ores solution and the share is abilitava, but when I reboot the machine returned diable, and still had problems with the import of the backup, and this' problem vps OVH I read that others had found this thing
Submitted by andreychek on Wed, 10/23/2013 - 08:23 Comment #14
If that symlink goes away after rebooting, you may need to add that command into your /etc/rc.local file.
I would suggest adding these two lines into your /etc/rc.local:
ln -s /dev/sda1 /dev/root
/etc/init.d/quota start
Submitted by Locutus on Fri, 10/25/2013 - 06:14 Comment #15
Personally, I have never seen "/dev/root" being used on an Ubuntu system, especially not on VMware ESXi, but maybe this helps:
http://unix.stackexchange.com/questions/17563/find-out-what-device-dev-r...
Submitted by zerocoldgm on Tue, 10/29/2013 - 12:02 Comment #16
the problem 'in the creation of VPS ovh.........not 'can do anything
thanks for the help