Gee do I have a red face. I should have seen this. I'm not a Unix Guru, but I thought I was getting a the hang of this stuff. Sal Serafino" <serafino@cshl.edu> was quick spotting my keying error. I knew better but what the heck everybody loves a little humility every now and then. Here is the answer from Sal, Thanks Sal for the help Your "device to fsck" or, more correctly, RAW device for /usr is the wrong slice and should be /dev/rdsk/c0t0d0s4. Original question Quot -af report is wrong I have a Solaris 2.6 system and have been using quot -af to report on disk space. Today I had to increase the size of partition /usr. Below is a current df command showing /dev/dsk/c0t0d0s4 as my new /usr slice and /dev/dsk/c0t0d0s6 as the old. barney: root : # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 97306 64998 22578 75% / /dev/dsk/c0t0d0s4 3848504 459755 3350264 13% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t0d0s1 1018382 459787 497493 49% /var /dev/dsk/c0t0d0s7 1018382 94008 863272 10% /export/home /dev/dsk/c0t0d0s5 1018382 106908 850372 12% /opt /dev/dsk/c0t8d0s0 8705501 2867598 5750848 34% /data swap 1310224 384 1309840 1% /tmp /dev/dsk/c0t0d0s6 589124 459755 70457 87% /usr_old barney: root : # After the change, if I issue the quot -af command it still reports on /dev/dsk/c0t0d0s6 (which isn't mounted) and does report on /dev/dsk/c0t0d0s4. barney: root : # umount /usr_old barney: root : # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 97306 64998 22578 75% / /dev/dsk/c0t0d0s4 3848504 459755 3350264 13% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t0d0s1 1018382 459789 497491 49% /var /dev/dsk/c0t0d0s7 1018382 94008 863272 10% /export/home /dev/dsk/c0t0d0s5 1018382 106908 850372 12% /opt /dev/dsk/c0t8d0s0 8705501 2867604 5750842 34% /data swap 1310264 384 1309880 1% /tmp barney: root : # quot -af /dev/rdsk/c0t0d0s0 (/): 59680 2727 XXXX 4841 36 XXXX 440 45 XXXX 31 14 XXXX 4 6 XXXX 1 1 XXXX 1 1 XXXX /dev/rdsk/c0t0d0s6 (/usr): 243406 19359 XXXX 212581 7175 XXXX 2970 248 XXXX 797 27 XXXX 1 1 XXXX /dev/rdsk/c0t0d0s1 (/var): 451596 3545 XXXX 3727 9 XXXX 2399 13 XXXX 1059 15 XXXX 933 49 XXXX 26 14 XXXX 25 27 XXXX 16 18 XXXX 5 5 XXXX 3 1 XXXX /dev/rdsk/c0t0d0s7 (/export/home): 76784 32 XXXX 6885 49 XXXX 6713 303 XXXX 3599 100 XXXX 5 5 XXXX 5 5 XXXX 5 5 XXXX 5 5 XXXX 5 5 XXXX 2 2 XXXX /dev/rdsk/c0t0d0s5 (/opt): 92301 6361 XXXX 8713 85 XXXX 9 3 XXXX 2 2 XXXX /dev/rdsk/c0t8d0s0 (/data): 1746734 22968 XXXX 1069224 11830 XXXX 51560 495 XXXX 86 10 XXXX barney: root : # barney: root : # more /etc/mnttab /dev/dsk/c0t0d0s0 / ufs rw,suid,dev=800000,largefiles 1009471399 /dev/dsk/c0t0d0s4 /usr ufs rw,suid,dev=800004,largefiles 1009471399 /proc /proc proc rw,suid,dev=2a40000 1009471399 fd /dev/fd fd rw,suid,dev=2b00000 1009471399 /dev/dsk/c0t0d0s1 /var ufs rw,suid,dev=800001,largefiles 1009471399 /dev/dsk/c0t0d0s7 /export/home ufs suid,rw,largefiles,dev=800007 1009471400 /dev/dsk/c0t0d0s5 /opt ufs suid,rw,largefiles,dev=800005 1009471400 /dev/dsk/c0t8d0s0 /data ufs suid,rw,largefiles,dev=800038 1009471400 swap /tmp tmpfs dev=1 1009471400 -hosts /net autofs ignore,indirect,nosuid,nobrowse,dev=2c80001 1009471420 auto_home /home autofs ignore,indirect,nobrowse,dev=2c80002 1009471420 -xfn /xfn autofs ignore,indirect,dev=2c80003 1009471420 barney:vold(pid237) /vol nfs ignore,noquota,dev=2c40001 1009471428 barney: root : # barney: root : # more /etc/vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t0d0s3 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - /dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s6 /usr ufs 1 no - /dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s4 /usr_old ufs 1 no - /dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /var ufs 1 no - /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 yes - /dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /opt ufs 2 yes - /dev/dsk/c0t8d0s0 /dev/rdsk/c0t8d0s0 /data ufs 2 yes - swap - /tmp tmpfs - yes - barney: root : # So my question is why is this happening?? What does quot read to get it's information. ===== Kathy Ange Virginia Department of Agriculture & Consumer Services Information Systems (804) 786-1340 Voice Mail (804) 786-2110 FAX __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Dec 27 15:27:50 2001
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:31 EST