1752330 Members
5945 Online
108786 Solutions
New Discussion юеВ

Can't mount filesystem

 
SOLVED
Go to solution
Herdip Kalare_1
Advisor

Can't mount filesystem

I am attempting to mount a filesystem but get the following error

anaconda{root}# mount /dev/vg001/lv_runtime /tmp/herd_test/runtime
/dev/vg001/lv_runtime: unrecognized file system

As far as I can see the filesystem exists ?
Keep on trying !!!
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Can't mount filesystem

Hi Herdip,

Did you just created the logical volume?. If so, did you run 'newfs' on it".

newfs -F vxfs /dev/vg001/rlv_runtime

If it was used before, don't run newfs as the data will be lost. Try different fs options.

mount -F vxfs /dev/vg001/lv_runtime /tmp/herd_test/runtime
mount -F hfs /dev/vg001.. etc

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: Can't mount filesystem

Hi,

Maybe the lv exist, but doesn't have a filesystem created on it. It may be used as a raw device for oracle / sybase database.

All this assuming there was no type mistake.

Hope this helps.

Regds
A. Clay Stephenson
Acclaimed Contributor

Re: Can't mount filesystem

I'll assume that lv_runtime is a valid logical volume BLOCK device node and that your mountpoint exists and is a directory.
I'll also assume that you have created a valid filesystem on this LVOL. If any of these assumptions are incorrect then correct them. You probably need to specify the type of filesystem (e.g. -F vxfs) in your mount command because (probably) there is no entry for this thing in /etc/fstab or if you have an fstab entry is is badly formed.
If it ain't broke, I can fix that.
Roberto Arias
Valued Contributor

Re: Can't mount filesystem

Hello Herdip:


I think that you don't have any file system in this lvol.Please try this:

newfs -F vxfs /dev/vg001/lv_runtime
mount /dev/vg001/lv_runtime /tmp/herd_test/runtime

bye
Wizard
The man is your friend
Herdip Kalare_1
Advisor

Re: Can't mount filesystem

Yes, just spotted my blindingly obvious error. I created the FS some time ago but am only jest getting around to using it and had not run the newfs command.

Thanks for your help.
Keep on trying !!!
A. Clay Stephenson
Acclaimed Contributor

Re: Can't mount filesystem

"I created the FS some time ago but am only jest getting around to using it and had not run the newfs command."
This statement is self-contradictory. I assume that you meant "I created the LVOL some time ago."
If it ain't broke, I can fix that.