Serviceguard

procedures to create a veritas file system in hp-ux box

 
NDO
Super Advisor

procedures to create a veritas file system in hp-ux box

Hi all

 

I have a 2 node McService Guard cluster that uses veritas as file system running on hp-ux 11.31. One of he nodes is switched off, so only one node is UP and running.

I need to create a new file system, but as I only have knowledge on LVM, I did some research, so I want to have your opinion on the steps that I beleive I will be able to create a new File System:

 

 

ioscan -fnC disk // to see the new LUN
vxdisk -f init <new disk c0t0d0> format=cdsdisk
vxdisk list // I need to see the new disk c0t0d0
vxdg list
vxdg init mydg c0t0d0

vxdg list

I need to see mydg with STATE and ID

vxdisk list

I need to see mydg and ONLINE

vxassist -g mydg make testvol 20g

ls /dev/vx/dsk/mydg

I need to see testvol

mkfs -F vxfs /dev/vx/dsk/mydg/testvol

I need to see: version layout..... + 4 other items

mkdir mydir

mount -F vxfs /dev/vx/dsk/mydg/testvol /mydir

bdf /dev/vx/dsk/mydg/testvol

I should see ......... /mydir

fstype /dev/vx/dsk/mydg/testvol

 

Please correct me if I did something that is no right.

NDO

1 REPLY 1
NDO
Super Advisor

Re: procedures to create a veritas file system in hp-ux box

Any feedback on this please. Do I need to insert the newly configured disks into the same disk group as the other LUNs/disks? Even if one node of the cluster is down? If so please help me with procedure.