1833770 Members
2258 Online
110063 Solutions
New Discussion

make Journal file system

 
SOLVED
Go to solution
Liadi
Frequent Advisor

make Journal file system

I recently installed JFS 3.3 depot.
My question is how to create JFS type file system.
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: make Journal file system

When you newfs the file system, you specify the FS type:

/usr/sbin/newfs [-F FStype] [-o specific_options] [-V] special


Pete

Pete
Liadi
Frequent Advisor

Re: make Journal file system

I tried:
newfs -F jfs /dev/agtsab93/rlvol1

there is no such thing as jfs type.
Massimo Bianchi
Honored Contributor
Solution

Re: make Journal file system

simply use the

newfs -F vxfs ....

if you want to choose the version (3 or 4) you must use the mkfs_vxfs command. Here follow and extract from the man page:

mkfs builds a file system with a root directory and a lost+found
directory (see fsck_vxfs(1M)). The file system can have disk layout
Version 2, disk layout Version 3, or disk layout Version 4. Version 2
supports dynamic inode allocation. Version 3 adds support for large
files and large UIDs. Version 4 adds support for Access Control
Lists. On HP-UX 11.1x systems, the default is Version 4. On HP-UX
11.0 systems, the default is Version 3. You can choose the disk
layout version with the version=n option (see below).


Massimo
Massimo Bianchi
Honored Contributor

Re: make Journal file system

jfs stands for Journaled File System, and the HPUX implementation is the vxfs...

version 3.3 adds the version=4 layout of the file system.

Massimo
Pete Randall
Outstanding Contributor

Re: make Journal file system

Sorry, Liadi, I should have mentioned that the type is vxfs.


Pete

Pete
Liadi
Frequent Advisor

Re: make Journal file system

Thanks you all for your great response (and especially you pete for your 10 sec response) but something is not clear to me - before I installed the JSM 3.3 I created VxFS volumes, is that mean I had JSM? (I know I might be confused with those terms)
Pete Randall
Outstanding Contributor

Re: make Journal file system

Liadi,

The base JFS (or VxFS) product is installed by default with version 10.x and beyond.


Pete

Pete
Liadi
Frequent Advisor

Re: make Journal file system

Thanks all, you've been a great help.