From: annalissa on 8 Feb 2010 13:05 Hi all, I was trying to unable quota s on my ubuntu jaunty system, but i am getting this error sudo edquota -u testuser edquota: WARNING - /dev/sdb5: cannot change current block allocation edquota: WARNING - /dev/sdb5: cannot change current inode allocation contents of my /etc/fstab file are as follows:- # /etc/fstab: static file system information. # # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda3 during installation UUID=985f9223-4d26-40ab-979f-1804a0b65634 / ext3 relatime,errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=7f5a8931-c8f8-4462-9169-5375b55c3868 none swap sw 0 0 /dev/sdb5 /data ext3 relatime,usrquota,grpquota 0 1 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 these are the steps followed by me :- sudo apt-get install quota sudo mount -o remount /data sudo quotacheck -cugm /data sudo quotaon -augv
From: Bill Marcum on 8 Feb 2010 18:08 On 2010-02-08, annalissa <aarklon(a)gmail.com> wrote: > Hi all, > > I was trying to unable quota s on my ubuntu jaunty system, but i am > getting this error > > sudo edquota -u testuser > edquota: WARNING - /dev/sdb5: cannot change current block allocation > edquota: WARNING - /dev/sdb5: cannot change current inode allocation > I think your problem may be that edquota is running as testuser, instead of running as root to edit testuser's quota. Try this: sudo -- edquota -u testuser
From: annalissa on 8 Feb 2010 23:00 Bill Marcum wrote: > On 2010-02-08, annalissa <aarklon(a)gmail.com> wrote: >> Hi all, >> >> I was trying to unable quota s on my ubuntu jaunty system, but i am >> getting this error >> >> sudo edquota -u testuser >> edquota: WARNING - /dev/sdb5: cannot change current block allocation >> edquota: WARNING - /dev/sdb5: cannot change current inode allocation >> > I think your problem may be that edquota is running as testuser, instead > of running as root to edit testuser's quota. Try this: > sudo -- edquota -u testuser > I tried this , but still i am getting this zodiac(a)zodioc:~$ sudo su root(a)zodioc:/home/zodiac# edquota -u testuser edquota: WARNING - /dev/sdb5: cannot change current block allocation edquota: WARNING - /dev/sdb5: cannot change current inode allocation
|
Pages: 1 Prev: GUI for /etc directory? Next: Intel Graphics Under Debian Lenny (Blank Screen) |