| Title: | Ask the Storage Architecture Group |
| Notice: | Check out our web page at http://www-starch.shr.dec.com |
| Moderator: | SSAG::TERZA N |
| Created: | Wed Oct 15 1986 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 6756 |
| Total number of notes: | 25276 |
Why is there a discrepancy between the total blocks utilization
when I do the following two comands?
In some cases (on other disks like stripeset ) the different consist
of few milions of blocks.
Any suggestion will be appreciated.
$ DIR/SIZE/GRAND_TOTAL $1$dia3:[*...]
Grand total of 223 directories, 3685 files, 2574452 blocks.
$ SHOW DEV/FUL $1$dia3
Disk $1$DIA3: (MLNGPX), device type RF36, is online, mounted, file-oriented
device, shareable, available to cluster, error logging is enabled.
Error count 0 Operations completed 18407
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 3 Default buffer size 512
Total blocks 3125408 Sectors per track 75
Total cylinders 2605 Tracks per cylinder 16
Host name "MLNGPX" Host type, avail VAX 4000-200, yes
Alternate host name "SOSGPX" Alt. type, avail VAX 4000-200, yes
Allocation class 1
Volume label "USERS" Relative volume number 0
Cluster size 3 Transaction count 3
Free blocks 493173 Maximum files allowed 390676
Extend quantity 5 Mount count 3
Mount status System Cache name "_$1$DIA2:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 49317
File ID cache size 64 Blocks currently in extent cache 0
Quota cache size 0 Maximum buffers in FCP cache 377
Volume owner UIC [SYSTEM] Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD
Volume Status: subject to mount verification, file high-water marking,
write-
back caching enabled.
Volume is also mounted on SOSGPX, MLNGPX.
In cases of few millions of blocks of difference, there are also
performances problem to acces to that specific disks and the
workaround was to force a rebuild by SET VOLU/REBUILD.
Thanks
Claudio
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 6352.1 | FILES vs. BLOCKS | SUBSYS::VIDIOT::PATENAUDE | Ask your boss for ARRAY's... | Tue Jan 28 1997 09:35 | 8 |
Ahh, let me guess,
probably because the DIR command is only telling you the total size of
all the FILES on your disk and the show dev is showing the total BLOCKS
for the disk (which by the way is correct at 3125408)
roger.
| |||||
| 6352.2 | AMCFAC::RABAHY | dtn 471-5160, outside 1-810-347-5160 | Tue Jan 28 1997 10:45 | 13 | |
re .0: First and foremost, you must specify /SIZE=ALLOCATION, otherwise you are only seeing blocks in use. Look at the results from using; $ COPY NL: X.X/ALLOCATION=100 That'll help a lot but you'll still be missing some blocks -- specifically, those belonging to the files in $1$dia3:[000000] and those, if any, not in any directory at all (i.e. lost -- use the ANALYZE/DISK utility to look for and recover them). Also, watch out for files with two or more directory entries -- they are only counted once via SHOW DEVICE/FULL but repeatedly via the DIRECTORY command. | |||||
| 6352.3 | Asked and answered 1,000 times in VMSNOTES!!! | COOKIE::FROEHLIN | Let's RAID the Internet! | Tue Jan 28 1997 13:39 | 5 |
Clearly a hardware problem. You have to open the drive and cleanout
the free block count by hand. Make sure you touch all platterns. After
this procedure your freeblock count problem will be clearly gone. ;-)
Guenther
| |||||
| 6352.4 | SUBSYS::VIDIOT::PATENAUDE | Ask your boss for ARRAY's... | Tue Jan 28 1997 14:48 | 3 | |
;^)
| |||||
| 6352.5 | SUBSYS::BROWN | SCSI and DSSI advice given cheerfully | Wed Jan 29 1997 09:31 | 13 | |
Come on guys, answer the question in clear English, without sarcasm or
obscure idioms. The question has undoubtedly been answered in
VAXAXP::VMSNOTES, but finding it amid the 12-volume archive is not easy.
The simple answer to .0 is that you're comparing the wrong numbers.
Dir/size/grand_total shows about 2.6 million blocks in use.
Show device/full says the device has 3.1 million blocks, of which
500,000 are free. So ,there are about 3.1 - 0.5 = 2.6 million in use.
There is a small difference between "dir/size" and "show device/full",
about 50,000 blocks. If you use "dir/size=all", as recommended in
a previous reply, the difference will disappear.
| |||||
| 6352.6 | COOKIE::FROEHLIN | Let's RAID the Internet! | Wed Jan 29 1997 11:10 | 17 | |
Come on guys, this was one of my light jokes. ;-)
.0 indicates that this is a cluster. In which case the free block count
in the "SHOW DEVICE" can be wrong all by itself. If that's the case
a clustewide re-MOUNT of the volume changes the free block count to a
more truely value. Discussions on archived VMSNOTES conferences show
all the details and aspects of this issue. A "Notes> DIR/TITLE="FREE BLO"
(be careful with English spelling) showed:
VMSNOTES_V12 917
VMSNOTES_V11 1929
VMSNOTES_V10 627
VMSNOTES_V9 940 2405 2919 3224 4036
Took me about 5 minutes to find all these valuable discussions.
Guenther
| |||||