Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mount 2

Status
Not open for further replies.

Yarka

Technical User
Jan 14, 2007
192
ES
Hi,
I have a FileSystem bad mounted:
/dev/ /XXX/abcd

and I need mount on /dev/my_lv and not on /dev/
Nowadays, my FS /XXX/abcd see all files of /dev/.

If I make a logical volum my_lv as: crfs -A yes -d my_lv -m /logs/abcd -v jfs, where my logical volum is created?

If I do umount /XXX/abcd, I don't loss all files of /dev ??

Thanks.


 
In your crfs command, you are creating a filesystem! and the logical volume is already specified (my_lv) so whereever your my_lv logical volume reside, this filesystem will be created on top of it!

I'm not sure how you end up having your filesystem mounted on /dev/! But if you umount that filesystem, you will be ok! coz it looks like you are overmounting your filesystem on top of /dev/

umount /XXX/abcd

Then ls -al /dev, you should get all your /dev content with no problems!

Once you do that, use your crfs command to create your filesystem on (using my_lv) and then just issue the command

mount /logs/abcd

to mount your newly created filesystem!

Regards,
Khalid
 
what you did is a dir mount: one dir (/logs/ABCD) over another dir (/dev), so just unmount that dirmount first (like Khalidaaa suggested).

Then on a newly created LV, you can create a filesystem and mount it properly on the correct dir.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top