vxtools

Tools for accessing Veritas Journaled FileSystem (VxFS)

[ download ] [ SCO VxFS manual ] [ feedback ]

Introduction

This package allows you to read files from Veritas Journaled Filesystem. Current version seems to support versions 2 and 4 (and 3, but this version was never released, AFAIK). I don't plan a write version, because I don't know journal log structure and I have *no* time to play with it. But I plan a Linux kernel implementation.

Installation

Installation is very simple:

Using

Use vxmount(1) command to "mount" a VxFS filesystem. It will not mount fs. like mount(1) does, but checks filesystem validity and stores state in ~/.vxcwd file for other programs. Then you can use vxls(1), vxcat(1), vxidump(1), vxcd(1) and vxpwd(1) to browse filesystem. To "unmount" filesystem use vxumount(1) command. For more information see manual pages (Which are not finished ;-).

Here is example (UnixWare 2.1 VxFS):

% prtvtoc /dev/hda
slice 0:        BACKUP          permissions:    UNMOUNTABLE VALID
        starting sector:        2056320         length: 1028160
slice 1:        ROOT            permissions:    VALID
        starting sector:        2216970         length: 851445
slice 7:        BOOT            permissions:    UNMOUNTABLE VALID
        starting sector:        2056320         length: 34
slice 10:       STAND           permissions:    VALID
        starting sector:        2072385         length: 32130
% vxmount -p 1 /dev/hda
% vxls /etc
oshadow
resolv.conf
ps_data
[few lines deleted]

% vxcat /etc/passwd
root:x:0:3:0000-Admin(0000):/:/sbin/sh
daemon:x:1:12:0000-Admin(0000):/:
bin:x:2:2:0000-Admin(0000):/usr/bin:
[few lines deleted]

% vxcd /usr/bin
% vxpwd
/usr/bin
% vxls
yacc
val
unget
[deleted]

% vxumount
%

Bugs

See TODO a BUGS files. If you will have any problems with this package, don't hesitate to send me mail ([email protected]). This software was tested only on my home Linux 2.3.26 glibc2 based system.

I'd like to hear whether this program worked on your VxFS filesystem or not, mainly if you are using VxFS on HP-UX or SUN Solaris.

See also


Last updated: Sat Nov 27 15:25:40 EST 1999
by Martin Hinner <mhi(at)penguin(dot)cz>.