How to make a jfs2 file system on a vxvm volume for testing purposes

book

Article ID: 100018284

calendar_today

Updated On:

Resolution

NOTE: This article should only be used for test environments - Use of JFS2 file systems on top of VxVM volumes is NOT supported by Veritas. Use of JFS2 file systems on top of VxVM should not be used in Production environments.
 
aixp650 #mkfs -V jfs2 -o log=INLINE /dev/vx/rdsk/wddg/testvol
 
mkfs: destroy /dev/vx/rdsk/wddg/testvol (yes)? y
 
logform: Format inline log for gt;?
 
File system created successfully.
 
151340 kilobytes total disk space.
 
Device /dev/vx/rdsk/wddg/testvol:
 
Standard empty filesystem
 
Size: 302680 512-byte (DEVBLKSIZE) blocks
 
aixp650 #mount -V jfs2 /dev/vx/dsk/wddg/testvol /test
 
mount: 0506-322 Cannot determine log device to use for /dev/vx/dsk/wddg/testvol (/test).
 
aixp650 #mount -V jfs2 -o log=INLINE /dev/vx/dsk/wddg/testvol /test
 
aixp650 #df -k
 
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
 
/dev/hd4 655360 183144 73% 2780 7% /
 
/dev/hd2 2949120 1509872 49% 20225 6% /usr
 
/dev/hd9var 4194304 995564 77% 1360 1% /var
 
/dev/hd3 6553600 616984 91% 21985 14% /tmp
 
/dev/hd1 65536 65160 1% 6 1% /home
 
/proc - - - - - /proc
 
/dev/hd10opt 4390912 3710716 16% 6951 1% /opt
 
/dev/vx/dsk/wddg/testvol 153600 151196 2% 4 1% /test
 
aixp650 #mount
 
node mounted mounted over vfs date options
 
-------- --------------- --------------- ------ ------------ ---------------
 
/dev/hd4 / jfs2 Sep 06 17:37 rw,log=/dev/hd8
 
/dev/hd2 /usr jfs2 Sep 06 17:37 rw,log=/dev/hd8
 
/dev/hd9var /var jfs2 Sep 06 17:37 rw,log=/dev/hd8
 
/dev/hd3 /tmp jfs2 Sep 06 17:38 rw,log=/dev/hd8
 
/dev/hd1 /home jfs2 Sep 06 17:39 rw,log=/dev/hd8
 
/proc /proc procfs Sep 06 17:39 rw
 
/dev/hd10opt /opt jfs2 Sep 06 17:39 rw,log=/dev/hd8
 
/dev/vx/dsk/wddg/testvol /test jfs2 Sep 07 14:56 rw,log=INLINE
 
aixp650 #
 

 

Issue/Introduction

How to make a jfs2 file system on a vxvm volume for testing purposes