Archive for 'Veritas File System'

Resizing Veritas volumes with vxresize

We were getting close to running out of space on one of our database volumes last week, and I needed to add some additional storage to ensure that things kept running smoothly. The admin who originally created the VxVM database volume only used half of each of the five disks that were associated with the […]

VxFS clear blocks mount option

While reading through the VxFS administrators guide last week, I came across a cool mount option that can be used to zero out file system blocks prior to use: “In environments where performance is more important than absolute data integrity, the preceding situation is not of great concern. However, for environments where data integrity is […]

Preallocating files sequentially on VxFS file systems

One cool feature that is built into VxFS is the ability to preallocate files sequentially on disk. This capability can benefit sequential workloads, and will typically result in higher throughput since disk seek times are minimized (LBA addressing, disk drive defect management and storage array abstractions can sometimes obscure this, so this may not always […]

Defragmenting VxFS file systems

I came across Scott Kaiser’s script a while back, and have found it useful for determining if the VxFS free extent map is fragmented. The script takes a file system as an option, and prints a one-line string to indicate if the file system should be defragmented: $ /u01 /u01 is badly fragmented. […]

Enabling large file support dynamically with VxFS

I recently encountered a VxFS file system that didn’t support largefiles. This issue was causing one of our Oracle databases to complain, which was preventing us from using datafiles optimized for our application access patterns. Since the file system was a Veritas File System (VxFS), I was able to fix this problem with the fsadm […]

Growing a Veritas File System

The Veritas File System (VxFS) allows file systems to be grown and shrunk with the fsadm(1m) utility. This activity can occur while a file system is online, and is relatively safe ( I have personally grown dozens of file systems, and have yet to have a single problem). To display the current size of a […]