LVM and VxVM

LVM and mount unrecognized file system

 
Eduardo Alfaia
Occasional Contributor

LVM and mount unrecognized file system

Hi all,
I get a problem with LVM and Mount. I executed this steps with LVM:
vgscan (ok)
vgchange -a y /dev/vg01 (ok)
lvchange -a y /dev/vg01/lvol(1,2,3) (ok)

But when I try mount /dev/vg01/lvol1 /sc_opt,I get this error: "/dev/vg01/lvol1: unrecognized file system" and
fstyp -v /dev/vg01/lvol1
unknown_fstyp (no matches)

but when I try
smscmao:/root# fstyp -v /dev/vg00/lvol1
hfs
f_bsize: 8192
f_frsize: 1024
f_blocks: 83733
f_bfree: 50505
f_bavail: 42131
f_files: 13440
f_ffree: 13392
f_favail: 13392
f_fsid: 1073741825
f_basetype: hfs
f_namemax: 255
f_magic: 95014
f_featurebits: 1
f_flag: 0
f_fsindex: 0
f_size: 86016

What do I do ?

Thanks
13 REPLIES 13
Torsten.
Acclaimed Contributor

Re: LVM and mount unrecognized file system

There is surely no relation between

vg00/lvol1

and

vg01/lvol1

Different VG's!

Do you remember the use of these LVOL's?

Maybe a database use them as raw devices?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rasheed Tamton
Honored Contributor

Re: LVM and mount unrecognized file system

Hi Eduardo,

lvchange cannot be performed if the volume group is activated in shared mode.

What was the scenario to use the lvchange command. If you provide more details you would get quick support.

Regards.
Torsten.
Acclaimed Contributor

Re: LVM and mount unrecognized file system

Are these LVOLs listed in /etc/fstab?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Mridul Shrivastava
Honored Contributor

Re: LVM and mount unrecognized file system

Is this the first time you are trying to mount this LVOL ???

If yes then you have to create filesystem before proceeding with mount. use newfs for the same, read man newfs for more options.

You can check /etc/fstab as well if there is any entry for this LVOL mount point else it might be a raw vol as well, as already mentioned.
Time has a wonderful way of weeding out the trivial
melvyn burnard
Honored Contributor

Re: LVM and mount unrecognized file system

Your command useage says you are NOT using this vg in shared mode, and the fstyp command indicates there is an hfs file system on this lvol.
I am unsure why you needed to do lvchange, as activating the vg is enough.

Try using mount with the -F option to tell it that there is an hfs file system:
mount -F hfs /dev/vg01/lvol1 /sc_opt

#If this does not work, the question that has to be asked is whether it has ever worked.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Torsten.
Acclaimed Contributor

Re: LVM and mount unrecognized file system

Melvyn: "fstyp command indicates there is an hfs file system on this lvol"

Confused?

Read the first post again - it's from vg00!

VG is question is vg01!

No idea why he posted the qutput from vg00 - maybe to confuse you only ...

;-))

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: LVM and mount unrecognized file system

Shalom,

Looks to me like either there is no file system (raw device database perhaps).

Perhaps its time to use newfs and format the filesystem if the previous statement is not true.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeeshan
Honored Contributor

Re: LVM and mount unrecognized file system

In case of I/O errors, refer to this document:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
a warrior never quits
Rasheed Tamton
Honored Contributor

Re: LVM and mount unrecognized file system

Is there any possibility this one is meant for a swap device.

Just check with the below one, if a file system was created on it.

mkfs -m /dev/vg01/lvol1