Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- Changing the dump area
- Disk striping with LVM
- Mirroring disks with LVM
- Mirroring the Root Volume
- Moving LVM disks
- Reszing Filesystems
- Setting up swap under LVM

Useful Links

- HP-UX Online Manuals
- HP-UX FAQ
- HP-UX Mailing List Archive
- HP-UX US User Group
- HP-UX UK User Group
- HP-UX Public Domain Software

Creating a new filesystem from scratch

  1. Check available disks using: ioscan -fnCdisk

  2. Size can be checked using: diskinfo -v /dev/rdsk/device

  3. pvcreate -f /dev/rdsk/device

  4. mkdir /dev/vg_name

  5. cd /dev/vg_name ; mknod group c 64 0x0n0000 (where is the next number avaiable incrementaly. i.e. for vg00 n is 0 so for vg01 n would be 1)
  6. vgcreate /dev/vg_name /dev/dsk/device /dev/dsk/device2 etc ...

  7. lvcreate -L size -n name /dev/vg_name

  8. newfs -F vxfs /dev/vg_name/rname (or -F hfs for hfs type filesystem)

  9. mkdir /mount_point

  10. edit /etc/fstab to include new filesystem

  11. mount -a to mount filesystem

Note:For swap, do not run newfs command. Option -C y and -r n should be used with the lvcreate command.


Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries