Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763

    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 -avugm
    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.
    Are they mistake? Or it is NOT a problem because no previous quote files created?

    # quotaon -avug
    Code:
    /dev/mapper/ub1010ser00-root [/]: group quotas turned on
    /dev/mapper/ub1010ser00-root [/]: user quotas turned on
    Which file I have to edit changing ub1010ser00-root as ub1010ser01?

    Please shed me some light. Thanks in advance.

    B.R.
    satimis

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Location
    Toronto
    Posts
    34
    give us the output of the following


    Code:
     ll /dev/mapper/ub1010ser00-root
    and

    Code:
    cat /etc/fstab

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763
    Hi amlife,

    Previously after having edited /etc/hosts and /etc/hostname I forgot rebooting the VM.

    Now:-

    # mount -o remount /
    # quotaoff -av
    Code:
    /dev/mapper/ub1010ser00-root [/]: group quotas turned off
    /dev/mapper/ub1010ser00-root [/]: user quotas turned off
    # quotacheck -avugm
    Code:
    quotacheck: Scanning /dev/mapper/ub1010ser00-root [/] done
    quotacheck: Checked 11207 directories and 71853 files

    # quotaon -avug
    Code:
    /dev/mapper/ub1010ser00-root [/]: group quotas turned on
    /dev/mapper/ub1010ser00-root [/]: user quotas turned on
    --------
    Quote Originally Posted by amlife View Post
    give us the output of the following

    Code:
     ll /dev/mapper/ub1010ser00-root
    and

    Code:
    cat /etc/fstab
    ll /dev/mapper/ub1010ser00-root
    Code:
    lrwxrwxrwx 1 root root 7 2012-01-28 10:17 /dev/mapper/ub1010ser00-root -> ../dm-0
    # cat /etc/fstab
    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
    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •