Creating th e file systems
Create the filesystemforeachnewlogicalvolumeonthediskarray. Thedefaultfile
system types are:
• HP-UX OS versi
on 10.20 = hfs or vxfs, depending on entry in the
/etc/defaul
ts/fs file.
• HP-UX OS version 11.0 = vxfs
• HP-UX OS version 11.i = vxfs
To create fil
esystems:
1. Use the newfs c omm and to create the file system using the logical volume as the
argument.
Example 1
# newfs /dev/vg06/rlvol1
newfs: /etc
/default/fs
determine t
he file system type
mkfs (hfs): Warning -272 sectors in the last cylinder are not
allocated.
mkfs (hfs)
: /dev/vg06/rlvol1 - 2400256 sectors in 3847 cylinders
of 16 tracks,
2547.9MB in 241 cyl groups (16 c/g, 10.22Mb/g, 1600 ig/g)
Super bloc
k backups (for fsck -b) at:
16, 10040, 20064, 30038, 40112, 50136, 60160, 70184, 80208, 90232, ...
2396176
Example 2
# newfs /
dev/vg06/rlvol1
create fi
le system
newfs: / etc/default/fs determine the file system type
mkfs (hfs): ...
:
7188496, 7198520, 7208544
#
Example 3
# newf
s -F vxfs /dev/vg06/rlvol1
Speci
fy file system type
:
# newfs -F hfs /dev/vg06/rlvol2
2. Repeat st
ep 1 for each logical volume on the disk array.
Disk Array XP operating system configuration guide: HP-UX
37