1833824 Members
2417 Online
110063 Solutions
New Discussion

Re: Mount

 
Neil Shurven_1
Occasional Contributor

Mount

Hi
I have 2 disks "c0t4d0" and "c1t4d0" which where setup as mirrored dump
disks, plus mounted as /var/adm/crash.
I would like to separate the dump and crash devices.
I have created /dev/vg00/dump on c0t4d0 and /dev/vg00/crash on c1t4d0.(
lvcreate -l 2100 -n dump/crash -s y -C y -r n /dev/vg00 )
Then ran the lvlnboot -d dump /dev/vg00 - this has worked ok to create a dump
location.
When I run "mount /dev/vg00/crash /var/adm/crash" I
get "/dev/vg00/crash: unrecognized file system"

What Have I done wrong or forgotten, I come from a Sun background and hence
working with Logical Volumes (LVM)is all new.
Any help would be appreciated.

thankyou
3 REPLIES 3
Sy-hoang Truong_1
Occasional Advisor

Re: Mount

Because your disks are mimorring, in order to mount these disks, you should do
first:
# vgchange -y a /dev/vg00
# mount /dev/zzz after warse

Good luck
Alan Riggs_1
Regular Advisor

Re: Mount

You are correct to want to separate your crash and dump spaces. The only step
you forgot was to lay a file system down on your logical volume.
newfs -F vxfs /dev/vg00/rcrash

or

mkfs -F vxfs /dev/vg00/crash

should work. Then don't forget to add the file system into /etc/fstab so that
it will mount automatically at boot.
Genaro Montemayor
New Member

Re: Mount

You forgot the newfs -F ... command...

This works.