Mounting a Volume after reboot
Hello list
I want to learn more about Veritas Storage Foundation Basic. First to test if will be useful for my projects and second to get the knowledge. It hink it could be very useful on a larger XEN environment
Step one
So under VMware Worksation I have got installed RHEL 5.5 with two virtual drives. One with 10 GB for the OS and one with 100 GB to play with Veritas. The System is a minimal installation. Only the dependencies for Veritas Storage Foundation Basic are installed. Veritas is installed as minimal a installion, configured without networkservices. After installation I have got rebooted my system and all Initscripts for Veritas has got started successfully.
Step two
My 100 GB Drive is /dev/sdb so I have begun to create a Volume
/opt/VRTS/bin/vxdisksetup -i sdb
vxdg init storage0 disk01=sdb
vxassist -g storage0 maxsize
vxassist -g storage0 make vol0 5000m
mkfs -t vxfs /dev/vx/rdsk/storage0/vol0
mount -t vxfs /dev/vx/rdsk/storage0/vol0 /mnt
So everything has happened successful. But after reboot the system it doesn't works any more. I cant mount Volumes.
mount -t vxfs /dev/vx/rdsk/storage0/vol0 /mnt
UX: vxfs mount.vxfs : Error: V-3-21266: /dev/vx/rdsk/storage0/vol0 not a block device
vxdg list
NAME STATE ID
storage0 enabeled,cds 1290381399.7.BOX01.my.tld
So anybody can tell me whats going or what I am doing wrong?
best regards
Darko Hojnik
mount -t vxfs /dev/vx/rdsk/storage0/vol0 /mnt ----- is wrong, dsk, not rdsk
mount -t vxfs /dev/vx/dsk/storage0/vol0 /mnt