Results 1 to 3 of 3
Hi folks,
Ubuntu 1010 server
VirtualBox
ServerName ub1010ser01 (it was cloned on another VM named ub1010ser00 which hasn't been config used as base for cloning VM)
Has any folk on ...
- 01-27-2012 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
About quotacheck
Hi folks,
Ubuntu 1010 server
VirtualBox
ServerName ub1010ser01 (it was cloned on another VM named ub1010ser00 which hasn't been config used as base for cloning VM)
Has any folk on the forum tried following Howto:
The Perfect Server - Ubuntu 10.10 [ISPConfig 3] - Page 4
The Perfect Server - Ubuntu 10.10 [ISPConfig 3] - Page 4 | HowtoForge - Linux Howtos and Tutorials
It went through w/o problem upto:-
# mount -o remount /
# quotacheck -avugmAre they mistake? Or it is NOT a problem because no previous quote files created?Code:quotacheck: Scanning /dev/mapper/ub1010ser00-root [/] done quotacheck: Cannot stat old user quota file: No such file or directory quotacheck: Cannot stat old group quota file: No such file or directory quotacheck: Cannot stat old user quota file: No such file or directory quotacheck: Cannot stat old group quota file: No such file or directory quotacheck: Checked 11162 directories and 70938 files quotacheck: Old file not found. quotacheck: Old file not found.
# quotaon -avugWhich file I have to edit changing ub1010ser00-root as ub1010ser01?Code:/dev/mapper/ub1010ser00-root [/]: group quotas turned on /dev/mapper/ub1010ser00-root [/]: user quotas turned on
Please shed me some light. Thanks in advance.
B.R.
satimis
- 01-27-2012 #2Just Joined!
- Join Date
- Aug 2009
- Location
- Toronto
- Posts
- 31
give us the output of the following
andCode:ll /dev/mapper/ub1010ser00-root
Code:cat /etc/fstab
- 01-28-2012 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Hi amlife,
Previously after having edited /etc/hosts and /etc/hostname I forgot rebooting the VM.
Now:-
# mount -o remount /
# quotaoff -av# quotacheck -avugmCode:/dev/mapper/ub1010ser00-root [/]: group quotas turned off /dev/mapper/ub1010ser00-root [/]: user quotas turned off
quotacheck: Checked 11207 directories and 71853 filesCode:quotacheck: Scanning /dev/mapper/ub1010ser00-root [/] done
# quotaon -avugll /dev/mapper/ub1010ser00-rootCode:/dev/mapper/ub1010ser00-root [/]: group quotas turned on /dev/mapper/ub1010ser00-root [/]: user quotas turned on --------
# cat /etc/fstabCode:lrwxrwxrwx 1 root root 7 2012-01-28 10:17 /dev/mapper/ub1010ser00-root -> ../dm-0
B.R.Code:# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 /dev/mapper/ub1010ser01-root / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1 # /boot was on /dev/sda1 during installation UUID=8f21afe7-9f0c-4f7f-aa00-eabc1f41167b /boot ext2 defaults 0 2 /dev/mapper/ub1010ser01-swap_1 none swap sw 0 0
satimis


Reply With Quote
