HP-UX
1753808 회원
7753 온라인
108805 솔루션
새 메시지

vxfs F/S version

 
김태경
조언자

vxfs F/S version

vxfs F/S version을 체크 할 수 있는 방법을 알려 주세요.

그리고, vxfs 마운트 옵션인

blkclear

convosync=direct|dsync|unbuffered|closesync|delay

datainlog|nodatainlog

ogiosize=1024|2048|4096

log|delaylog|tmplog|nolog

mincache=direct|dsync|unbuffered|closesync|tmpcache

quota

remount

rw|ro

snapof=filesystem

snapsize=size

suid|nosuid

이런것에 대한 설명자료도 있으면 부탁 드립니다.
2 응답 2
고광태
중학생

vxfs F/S version

veritas volume manager :



swlist -l product | grep VERITAS



로 조회하면 버전을 알수있겠네요



lvm :



fstyp 명령어로 확인할수가 잇습니다.





blkclear

Ensure that all data extents are cleared before being allocated to a file

(requires synchronous zeroing, on disk, of certain newly allocated extents).

This prevents uninitialized data from appearing in a file being written at the

time of a system crash.



>snapof=filesystem

Mounts the file system as a snapshot of filesystem, where filesystem is either

the directory on which a VxFS file system is mounted, or is the block special

file containing a mounted VxFS file system. An explicit -F vxfs option is

required to mount a snapshot file system.



snapsize=blocks

Used in conjunction with snapof. blocks is the size in sectors of the snapshot

file system being mounted. This option is required only when the device driver

is incapable of determining the size of special, and will default to the entire

device if not specified.



mincache=direct|dsync|closesync|tmpcache

This option is used to alter the caching behavior of the file system.



The direct value causes any writes without the O_SYNC flag and all reads

to be handled as if the VX_DIRECT caching advisory was set instead.



The dsync value causes any writes without either the O_SYNC flag or the

VX_DIRECT caching advisory to be handled as if the VX_DSYNC caching advisory

has been set.



The closesync, dsync and direct values all cause the equivalent

of an fsync(2) to be run when the file is closed. See vxfsio(7) for an

explanation of VX_DIRECT and VX_DSYNC.



The tmpcache value disables delayed extending writes, trading off

integrity for performance. When this option is chosen, VxFS does not zero out

new extents allocated as files are sequentially written. Uninitialized data

may appear in files being written at the time of a system crash.



convosync=direct|dsync|closesync|delay

This option is used to alter the caching behavior of the file system for O_SYNC

I/O operations.



The direct value causes any reads or writes with the O_SYNC flag to be

handled as if the VX_DIRECT caching advisory was set instead.



The dsync value causes any writes with the O_SYNC flag to be handled as

if the VX_DSYNC caching advisory was set instead.



The closesync value causes O_SYNC writes to be delayed rather than to

take effect immediately. The closesync,dsync and direct values

all cause the equivalent of an fsync(2) to be run when any file is accessed

with the O_SYNC flag is closed.

The delay value causes O_SYNC writes to be delayed rather than to take effect

immediately. Choosing this option causes VxFS to change all O_SYNC writes into

delayed writes. No special action is performed when closing a file. This option

effectively cancels any data integrity guarantees normally provided by opening

a file with O_SYNC.



datainlog|nodatainlog

Normally, the VxFS file system performs small O_SYNC write requests and NFS

write requests by logging both the data and the time change to the inode

(datainlog).If the nodatainlog option is used, the logging of

synchronous write data is disabled; such writes will write the data into the

file and update the inode synchronously before returning to the user.



largefiles|nolargefiles

If one of these options is specified, the file system mount will fail if the

largefile compatibility bit for the file system does not match the option

specified. If nolargefiles is specified and the mount succeeds, then

the file system does not contain any files whose size is 2 gigabytes or larger,

and such files cannot be created. If largefiles is specified and the

mount succeeds, then the file system may contain files whose size is 2gigabytes

or larger, and large files can be created. The default is to mount the file

system according to the largefile compatibility bit (see fsadm_vxfs(1M) and

mkfs_vxfs(1M).



김병수
본과생

vxfs F/S version

# fstyp -v /dev/vg00/lvol3

vxfs

version: 3 -----> version

f_bsize: 8192

f_frsize: 1024

f_blocks: 143360

f_bfree: 39634

f_bavail: 39634

f_files: 3744

f_ffree: 1073792296

f_favail: 1073792296

f_fsid: 1073741827

f_basetype: vxfs

f_namemax: 254

f_magic: a501fcf5

f_featurebits: 0

f_flag: 0

f_fsindex: 6

f_size: 143360



위의 명령어로 확인할수 있습니다.



또, # man mount_vxfs 하시면 여러 option에 대한 설명이 있습니다.



그럼~~~