Custom Search

Wednesday, February 4, 2009

ioscan

To view a list of peripherals on the server, issue the command...
  1. For HDD
    ioscan -nfC disk
  2. For tape drive
    ioscan -nfC tape
  3. For LAN - Ethernet Card
    ioscan -nfC LAN
  4. For FC - Fiber Channel
    ioscan -nfC FC

The next time you want to view it again, you can use the -k option for cache so that you don't have to wait for it to scan the entire system again.

For example...
ioscan -knfC disk

Tuesday, February 3, 2009

How to increase the logical volume size?

Before increasin the size of the logical volume, always ensure that you do a make_tape_recovery and fbackup on the data stored on that particular logical volume that you wish to increase.

Always check your current and free lvol size before increasing so you can keep track and notice the differents.

We take a scenario where I would want to increase my /dev/vg00/lvol10 to 1GB
  1. umount /dev/vg00/lvol10
  2. lvextend -L 1024 /dev/vg00/lvol10
  3. extendfs -F vxfs /dev/vg00/lvol10
  4. mount /dev/vg00/lvol10 /myfolder
  5. bdf

bdf command to check your increased lvol size.