LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-03-2006, 11:33 PM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 476

Rep: Reputation: 33
User quota, block size calculation


Hi

I am trying to calculate user qouta size.

my dump2fs /dev/hda8 reports the block size is 4096
and other findings are as follows

[root@poseidon asanka]# quota asanka
Disk quotas for user asanka (uid 10003):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda8 1160 24440 24444 3 0 0
[root@poseidon asanka]# du -s
1160 .
[root@poseidon asanka]# du -sb
1187840 .
[root@poseidon asanka]#


according to these figures the block size is 1024 that is half the amount that the dump2fs reports.

am I doing something wrong or is there some thing wrong with dumpe2fs

regards

Asanka
 
Old 07-04-2006, 01:25 AM   #2
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
can you post your mount output here
 
Old 07-04-2006, 05:53 AM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 476

Original Poster
Rep: Reputation: 33
hi nabeelmoidu is it df output

[root@poseidon ldap]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20161204 219396 18917668 2% /
/dev/hda1 101089 9237 86633 10% /boot
none 159028 0 159028 0% /dev/shm
/dev/hda3 10080520 5014100 4554352 53% /usr
/dev/hda5 2016016 182004 1731600 10% /var
/dev/hda7 19236308 7836740 10422416 43% /vol0
/dev/hda8 26549432 34592 25166188 1% /vol1


[root@poseidon ldap]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 20G 215M 19G 2% /
/dev/hda1 99M 9.1M 85M 10% /boot
none 156M 0 156M 0% /dev/shm
/dev/hda3 9.7G 4.8G 4.4G 53% /usr
/dev/hda5 2.0G 178M 1.7G 10% /var
/dev/hda7 19G 7.5G 10G 43% /vol0
/dev/hda8 26G 34M 25G 1% /vol1

[root@poseidon ldap]# mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda3 on /usr type ext3 (rw)
/dev/hda5 on /var type ext3 (rw)
/dev/hda7 on /vol0 type ext3 (rw)
/dev/hda8 on /vol1 type ext3 (rw,usrquota,grpquota)

Last edited by procfs; 07-04-2006 at 05:55 AM.
 
Old 07-04-2006, 06:31 AM   #4
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
From inside /vol1 now give
du , du -sh , du -sb
and if possible give the dump2fs output also here
 
Old 07-04-2006, 06:35 AM   #5
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 476

Original Poster
Rep: Reputation: 33
hi nabeelmoidu


[root@poseidon vol1]# du
4 ./acpt
4 ./ajmal
4 ./alex
4 ./amarakoon
4 ./amirthini
4 ./anjalee
4 ./anoja
4 ./antony
4 ./anuradha
4 ./arosha
4 ./arunim
1160 ./asanka
4 ./atm1
4 ./atm2
4 ./austen
4 ./ava-celltel
4 ./ava-dhiraagu
4 ./ava-fsmtc
4 ./avahd-pncc
4 ./ava-slt
4 ./ava-suntel
4 ./ava-support-celltel
4 ./ava-support-dhiraagu
4 ./ava-support-fsmtc
4 ./ava-support-onetel
4 ./ava-support-pncc
4 ./ava-support-slt
4 ./ava-support-suntel
4 ./avaweb
4 ./binuka
4 ./buddhika
4 ./buddy
4 ./careers
4 ./chamila
4 ./chamin
4 ./chamindi
4 ./chandika
4 ./channa
4 ./charmani
4 ./chinthaka
4 ./damithr
4 ./dcftest
4 ./dev412
4 ./dhiraagu
4 ./dhiweb
4 ./dialup1
4 ./dinesh
4 ./doc412
4 ./dummy1x
4 ./fsmdev
4 ./fsmexit
4 ./fsminfohelp
4 ./fsmpos
4 ./ganga
4 ./gayan
4 ./gayanh
4 ./gayani
4 ./gayanw
4 ./harshi
4 ./hasith
4 ./hemal
4 ./hinduja
4 ./hr
4 ./iat
4 ./ic
4 ./indika
4 ./indima
4 ./infoconnect
4 ./inoka
4 ./jinadari
4 ./kanchana
4 ./kassapa
4 ./kasun
4 ./kusum
4 ./lahiru
4 ./lakmali
4 ./laksiri
4 ./lasantha
4 ./lasith
4 ./lloyd
4 ./mahesh
4 ./mano
4 ./methruwan
4 ./minoli
4 ./nadeesha
4 ./nadishani
4 ./naleen
4 ./navdef
4 ./nimalan
4 ./nimesha
4 ./nirangi
4 ./nirmal
4 ./niroshan
4 ./nishantha
4 ./nivantha
4 ./patch13
4 ./pnccdoc
4 ./pnccimpl
4 ./pnccqa
4 ./prabath
4 ./prashan
4 ./prodtrack
4 ./qa403
4 ./qa41
4 ./qa411
4 ./qa412
4 ./qa431
4 ./rahiethan
4 ./ranga
4 ./rasika
4 ./rasuni
4 ./recon
4 ./rifthy
4 ./ros
4 ./roshan
4 ./ruchira
4 ./rukshan
4 ./ruwan
4 ./ruwangi
4 ./sagara
4 ./sajith
4 ./sajithn
4 ./sampath
4 ./sanjayap
4 ./sanjeewar
4 ./sanka
4 ./saveera
4 ./scanjet
4 ./shangeeth
4 ./shanil
4 ./shara
4 ./sharada
4 ./shazmin
4 ./sheran
4 ./shirani
4 ./shirley
4 ./siva
4 ./sudheera
4 ./sujith
4 ./surangas
4 ./tamim
4 ./tamir
4 ./tharani
4 ./tharshi
4 ./tharshini
4 ./uddhika
4 ./viraj
4 ./zentrack
4 ./lakshan
1784 .


[root@poseidon vol1]# du -sh
1.8M .


[root@poseidon vol1]# du -sb
1826816 .
 
Old 07-04-2006, 06:36 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
It would be helpful, even polite, to include your distro.

I am running SimplyMEPIS 3.3.2 & dump2fs is nowhere to found in my repositories. I would really like to know why I can't run the command you are asking about. Telling me, in your post, the distro you are using would help me figure this out.

Thank you.
 
Old 07-04-2006, 06:42 AM   #7
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
I have deleted my earlier post. I have a similar machine with the root partition with block size as 1024 and the LVM mount as 4096.
It seems that du gives the output with block size 1024 coz the root partition where it resides has the block size 1024. So I suppose the output you got was normal.
As for setting quota , I have set it using the 1024 block size and it works the way I wanted.
So I guess you can go ahead with the 1024 bytes size for that.

Last edited by nabeelmoidu; 07-04-2006 at 06:57 AM.
 
Old 07-04-2006, 06:52 AM   #8
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 476

Original Poster
Rep: Reputation: 33
Hi I am using Redhat ES3 wupdate 7 if gives me quit a big dump I dont understand any of thoes.

and thats what I figures my bolck size calculates to be 1024 not 4096, why is that but this dump says my block size is 4096

and my dumpe2fs /dev/hda8 is

Filesystem volume name: /vol1
Last mounted on: <not available>
Filesystem UUID: 4c4d5ca6-d5d2-429e-b12a-98ef31feaa02
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype needs_recovery sparse_super
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 3375104
Block count: 6743275
Reserved block count: 337163
Free blocks: 6628710
Free inodes: 3374939
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16384
Inode blocks per group: 512
Filesystem created: Tue Jun 27 10:19:51 2006
Last mount time: Mon Jul 3 13:24:02 2006
Last write time: Mon Jul 3 13:24:02 2006
Mount count: 7
Maximum mount count: 23
Last checked: Tue Jun 27 10:19:51 2006
Check interval: 15552000 (6 months)
Next check after: Sun Dec 24 10:19:51 2006
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal UUID: <none>
Journal inode: 8
Journal device: 0x0000
First orphan inode: 0


Group 0: (Blocks 0-32767)
Primary superblock at 0, Group descriptors at 1-2
Block bitmap at 3 (+3), Inode bitmap at 4 (+4)
Inode table at 5-516 (+5)
24041 free blocks, 16370 free inodes, 1 directories
Free blocks: 518-521, 8731-32767
Free inodes: 15-16384
Group 1: (Blocks 32768-65535)
Backup superblock at 32768, Group descriptors at 32769-32770
Block bitmap at 32771 (+3), Inode bitmap at 32772 (+4)
Inode table at 32773-33284 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 33285-65535
Free inodes: 16385-32768
Group 2: (Blocks 65536-98303)
Block bitmap at 65536 (+0), Inode bitmap at 65537 (+1)
Inode table at 65538-66049 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 66051-98303
Free inodes: 32770-49152
Group 3: (Blocks 98304-131071)
Backup superblock at 98304, Group descriptors at 98305-98306
Block bitmap at 98307 (+3), Inode bitmap at 98308 (+4)
Inode table at 98309-98820 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 98821-131071
Free inodes: 49153-65536
Group 4: (Blocks 131072-163839)
Block bitmap at 131072 (+0), Inode bitmap at 131073 (+1)
Inode table at 131074-131585 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 131587-163839
Free inodes: 65538-81920
Group 5: (Blocks 163840-196607)
Backup superblock at 163840, Group descriptors at 163841-163842
Block bitmap at 163843 (+3), Inode bitmap at 163844 (+4)
Inode table at 163845-164356 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 164357-196607
Free inodes: 81921-98304
Group 6: (Blocks 196608-229375)
Block bitmap at 196608 (+0), Inode bitmap at 196609 (+1)
Inode table at 196610-197121 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 197123-229375
Free inodes: 98306-114688
Group 7: (Blocks 229376-262143)
Backup superblock at 229376, Group descriptors at 229377-229378
Block bitmap at 229379 (+3), Inode bitmap at 229380 (+4)
Inode table at 229381-229892 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 229893-262143
Free inodes: 114689-131072
Group 8: (Blocks 262144-294911)
Block bitmap at 262144 (+0), Inode bitmap at 262145 (+1)
Inode table at 262146-262657 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 262659-294911
Free inodes: 131074-147456
Group 9: (Blocks 294912-327679)
Backup superblock at 294912, Group descriptors at 294913-294914
Block bitmap at 294915 (+3), Inode bitmap at 294916 (+4)
Inode table at 294917-295428 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 295429-327679
Free inodes: 147457-163840
Group 10: (Blocks 327680-360447)
Block bitmap at 327680 (+0), Inode bitmap at 327681 (+1)
Inode table at 327682-328193 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 328195-360447
Free inodes: 163842-180224
Group 11: (Blocks 360448-393215)
Block bitmap at 360448 (+0), Inode bitmap at 360449 (+1)
Inode table at 360450-360961 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 360963-393215
Free inodes: 180226-196608
Group 12: (Blocks 393216-425983)
Block bitmap at 393216 (+0), Inode bitmap at 393217 (+1)
Inode table at 393218-393729 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 393731-425983
Free inodes: 196610-212992
Group 13: (Blocks 425984-458751)
Block bitmap at 425984 (+0), Inode bitmap at 425985 (+1)
Inode table at 425986-426497 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 426499-458751
Free inodes: 212994-229376
Group 14: (Blocks 458752-491519)
Block bitmap at 458752 (+0), Inode bitmap at 458753 (+1)
Inode table at 458754-459265 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 459267-491519
Free inodes: 229378-245760
Group 15: (Blocks 491520-524287)
Block bitmap at 491520 (+0), Inode bitmap at 491521 (+1)
Inode table at 491522-492033 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 492035-524287
Free inodes: 245762-262144
Group 16: (Blocks 524288-557055)
Block bitmap at 524288 (+0), Inode bitmap at 524289 (+1)
Inode table at 524290-524801 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 524803-557055
Free inodes: 262146-278528
Group 17: (Blocks 557056-589823)
Block bitmap at 557056 (+0), Inode bitmap at 557057 (+1)
Inode table at 557058-557569 (+2)
31964 free blocks, 16381 free inodes, 1 directories
Free blocks: 557860-589823
Free inodes: 278532-294912
Group 18: (Blocks 589824-622591)
Block bitmap at 589824 (+0), Inode bitmap at 589825 (+1)
Inode table at 589826-590337 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 590339-622591
Free inodes: 294914-311296
Group 19: (Blocks 622592-655359)
Block bitmap at 622592 (+0), Inode bitmap at 622593 (+1)
Inode table at 622594-623105 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 623107-655359
Free inodes: 311298-327680
Group 20: (Blocks 655360-688127)
Block bitmap at 655360 (+0), Inode bitmap at 655361 (+1)
Inode table at 655362-655873 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 655875-688127
Free inodes: 327682-344064
Group 21: (Blocks 688128-720895)
Block bitmap at 688128 (+0), Inode bitmap at 688129 (+1)
Inode table at 688130-688641 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 688643-720895
Free inodes: 344066-360448
Group 22: (Blocks 720896-753663)
Block bitmap at 720896 (+0), Inode bitmap at 720897 (+1)
Inode table at 720898-721409 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 721411-753663
Free inodes: 360450-376832
Group 23: (Blocks 753664-786431)
Block bitmap at 753664 (+0), Inode bitmap at 753665 (+1)
Inode table at 753666-754177 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 754179-786431
Free inodes: 376834-393216
Group 24: (Blocks 786432-819199)
Block bitmap at 786432 (+0), Inode bitmap at 786433 (+1)
Inode table at 786434-786945 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 786947-819199
Free inodes: 393218-409600
Group 25: (Blocks 819200-851967)
Backup superblock at 819200, Group descriptors at 819201-819202
Block bitmap at 819203 (+3), Inode bitmap at 819204 (+4)
Inode table at 819205-819716 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 819717-851967
Free inodes: 409601-425984
Group 26: (Blocks 851968-884735)
Block bitmap at 851968 (+0), Inode bitmap at 851969 (+1)
Inode table at 851970-852481 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 852483-884735
Free inodes: 425986-442368
Group 27: (Blocks 884736-917503)
Backup superblock at 884736, Group descriptors at 884737-884738
Block bitmap at 884739 (+3), Inode bitmap at 884740 (+4)
Inode table at 884741-885252 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 885253-917503
Free inodes: 442369-458752
Group 28: (Blocks 917504-950271)
Block bitmap at 917504 (+0), Inode bitmap at 917505 (+1)
Inode table at 917506-918017 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 918019-950271
Free inodes: 458754-475136
Group 29: (Blocks 950272-983039)
Block bitmap at 950272 (+0), Inode bitmap at 950273 (+1)
Inode table at 950274-950785 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 950787-983039
Free inodes: 475138-491520
Group 30: (Blocks 983040-1015807)
Block bitmap at 983040 (+0), Inode bitmap at 983041 (+1)
Inode table at 983042-983553 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 983555-1015807
Free inodes: 491522-507904
Group 31: (Blocks 1015808-1048575)
Block bitmap at 1015808 (+0), Inode bitmap at 1015809 (+1)
Inode table at 1015810-1016321 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1016323-1048575
Free inodes: 507906-524288
Group 32: (Blocks 1048576-1081343)
Block bitmap at 1048576 (+0), Inode bitmap at 1048577 (+1)
Inode table at 1048578-1049089 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1049091-1081343
Free inodes: 524290-540672
Group 33: (Blocks 1081344-1114111)
Block bitmap at 1081344 (+0), Inode bitmap at 1081345 (+1)
Inode table at 1081346-1081857 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1081859-1114111
Free inodes: 540674-557056
Group 34: (Blocks 1114112-1146879)
Block bitmap at 1114112 (+0), Inode bitmap at 1114113 (+1)
Inode table at 1114114-1114625 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1114627-1146879
Free inodes: 557058-573440
Group 35: (Blocks 1146880-1179647)
Block bitmap at 1146880 (+0), Inode bitmap at 1146881 (+1)
Inode table at 1146882-1147393 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1147395-1179647
Free inodes: 573442-589824
Group 36: (Blocks 1179648-1212415)
Block bitmap at 1179648 (+0), Inode bitmap at 1179649 (+1)
Inode table at 1179650-1180161 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1180163-1212415
Free inodes: 589826-606208
Group 37: (Blocks 1212416-1245183)
Block bitmap at 1212416 (+0), Inode bitmap at 1212417 (+1)
Inode table at 1212418-1212929 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1212931-1245183
Free inodes: 606210-622592
Group 38: (Blocks 1245184-1277951)
Block bitmap at 1245184 (+0), Inode bitmap at 1245185 (+1)
Inode table at 1245186-1245697 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1245699-1277951
Free inodes: 622594-638976
Group 39: (Blocks 1277952-1310719)
Block bitmap at 1277952 (+0), Inode bitmap at 1277953 (+1)
Inode table at 1277954-1278465 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1278467-1310719
Free inodes: 638978-655360
Group 40: (Blocks 1310720-1343487)
Block bitmap at 1310720 (+0), Inode bitmap at 1310721 (+1)
Inode table at 1310722-1311233 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1311235-1343487
Free inodes: 655362-671744
Group 41: (Blocks 1343488-1376255)
Block bitmap at 1343488 (+0), Inode bitmap at 1343489 (+1)
Inode table at 1343490-1344001 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1344003-1376255
Free inodes: 671746-688128
Group 42: (Blocks 1376256-1409023)
Block bitmap at 1376256 (+0), Inode bitmap at 1376257 (+1)
Inode table at 1376258-1376769 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1376771-1409023
Free inodes: 688130-704512
Group 43: (Blocks 1409024-1441791)
Block bitmap at 1409024 (+0), Inode bitmap at 1409025 (+1)
Inode table at 1409026-1409537 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1409539-1441791
Free inodes: 704514-720896
Group 44: (Blocks 1441792-1474559)
Block bitmap at 1441792 (+0), Inode bitmap at 1441793 (+1)
Inode table at 1441794-1442305 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1442307-1474559
Free inodes: 720898-737280
Group 45: (Blocks 1474560-1507327)
Block bitmap at 1474560 (+0), Inode bitmap at 1474561 (+1)
Inode table at 1474562-1475073 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1475075-1507327
Free inodes: 737282-753664
Group 46: (Blocks 1507328-1540095)
Block bitmap at 1507328 (+0), Inode bitmap at 1507329 (+1)
Inode table at 1507330-1507841 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1507843-1540095
Free inodes: 753666-770048
Group 47: (Blocks 1540096-1572863)
Block bitmap at 1540096 (+0), Inode bitmap at 1540097 (+1)
Inode table at 1540098-1540609 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1540611-1572863
Free inodes: 770050-786432
Group 48: (Blocks 1572864-1605631)
Block bitmap at 1572864 (+0), Inode bitmap at 1572865 (+1)
Inode table at 1572866-1573377 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1573379-1605631
Free inodes: 786434-802816
Group 49: (Blocks 1605632-1638399)
Backup superblock at 1605632, Group descriptors at 1605633-1605634
Block bitmap at 1605635 (+3), Inode bitmap at 1605636 (+4)
Inode table at 1605637-1606148 (+5)
32251 free blocks, 16384 free inodes, 0 directories
Free blocks: 1606149-1638399
Free inodes: 802817-819200
Group 50: (Blocks 1638400-1671167)
Block bitmap at 1638400 (+0), Inode bitmap at 1638401 (+1)
Inode table at 1638402-1638913 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1638915-1671167
Free inodes: 819202-835584
Group 51: (Blocks 1671168-1703935)
Block bitmap at 1671168 (+0), Inode bitmap at 1671169 (+1)
Inode table at 1671170-1671681 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1671683-1703935
Free inodes: 835586-851968
Group 52: (Blocks 1703936-1736703)
Block bitmap at 1703936 (+0), Inode bitmap at 1703937 (+1)
Inode table at 1703938-1704449 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1704451-1736703
Free inodes: 851970-868352
Group 53: (Blocks 1736704-1769471)
Block bitmap at 1736704 (+0), Inode bitmap at 1736705 (+1)
Inode table at 1736706-1737217 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1737219-1769471
Free inodes: 868354-884736
Group 54: (Blocks 1769472-1802239)
Block bitmap at 1769472 (+0), Inode bitmap at 1769473 (+1)
Inode table at 1769474-1769985 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1769987-1802239
Free inodes: 884738-901120
Group 55: (Blocks 1802240-1835007)
Block bitmap at 1802240 (+0), Inode bitmap at 1802241 (+1)
Inode table at 1802242-1802753 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1802755-1835007
Free inodes: 901122-917504
Group 56: (Blocks 1835008-1867775)
Block bitmap at 1835008 (+0), Inode bitmap at 1835009 (+1)
Inode table at 1835010-1835521 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1835523-1867775
Free inodes: 917506-933888
Group 57: (Blocks 1867776-1900543)
Block bitmap at 1867776 (+0), Inode bitmap at 1867777 (+1)
Inode table at 1867778-1868289 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1868291-1900543
Free inodes: 933890-950272
Group 58: (Blocks 1900544-1933311)
Block bitmap at 1900544 (+0), Inode bitmap at 1900545 (+1)
Inode table at 1900546-1901057 (+2)
32253 free blocks, 16383 free inodes, 1 directories
Free blocks: 1901059-1933311
Free inodes: 950274-966656

AND it go on and on

regards

Asanka
 
Old 09-24-2010, 10:05 AM   #9
calabee
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
I also have similar problem. I found block size is zero when I edaquota a user.

Disk quotas for user wallace (uid 500):
Filesystem blocks soft hard inodes soft hard
/dev/sdc4 0 20 50 0 0 0
/dev/md0 0 0 0 0 0 0
~
It looks like the quota cannot be apply on the user except root.

Does anyone know why?
[root@redhat1 mnt]# repquota -a
*** Report for user quotas on device /dev/sdc4
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 10288 0 0 4 0 0


*** Report for user quotas on device /dev/md0
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 10288 0 0 4 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
size of block devices primo Solaris / OpenSolaris 1 12-20-2005 12:17 PM
block size ust Linux - Software 1 11-24-2005 11:45 PM
directory size & QUOTA questions... hct224 Linux - Newbie 4 04-23-2004 06:41 PM
block size in ext2 ramu_ak Linux - General 2 03-30-2004 01:20 AM
set user quota size juno Linux - General 2 10-25-2002 03:42 AM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration