Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add missing vgcreate line and minor device number check

...

LVM volume group with JFS file system


StepCommand
1Create a physical (non-bootable) volume.# pvcreate -f /dev/rdsk/c0t0d0
2Create the volume group file structure.

Example to create structure for volume group 1:

# mkdir /dev/vg01

# mknod /dev/vg01/group c 64 0x010000

0xNN0000 is the minor device number.
To identify all minor device numbers already used, run the command
# ll /dev/*/group

3Create volume group.

Example to create volume group 1 with physical volume created above:

# vgcreate vg01 /dev/dsk/c0t0d0

4Create logical volume.

Example to create a logical volume named myname of size-MB megabytes:

# lvcreate -L size-MB -n myname vg01

4
5Create filesystem on logical volume.

Example to create a JFS (vxfs) filesystem on logical volume myname:

# newfs -F vxfs /dev/vg01/rmyname

5
6Mount filesystem to a mount point (create mount point first if it does not exist yet).

Example to mount the new filesystem on /mnt:

# mount -F vxfs /dev/vg01/myname /mnt



Div
classpagebreak



Enable a Disk for Use by MPE/iX

...