- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- mounting filesystem on a logical volume
Operating System - Linux
1753792
Members
5780
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 11:13 AM
тАО12-07-2010 11:13 AM
mounting filesystem on a logical volume
RHEL5. I am trying to mount a logical volume on /new
[root@cl40 mpath]# vgs
VG #PV #LV #SN Attr VSize VFree
new_vg 1 1 0 wz--n- 100.00G 98.04G
[root@cl40 mpath]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
newvol new_vg -wi--- 1.95G
I have to mount this newvol on new_vg..Coming from HP-UX i am trying a manual mount and it fails..What would be the correct syntax to mount this filesystem manually and also the correct entry in the fstab. i did the following cmd to create filesystem
(mkfs.ext3 /dev/new_vg/newvol) so that it could mount on reboots. Please help.
Thanks
Brian.
[root@cl40 mpath]# vgs
VG #PV #LV #SN Attr VSize VFree
new_vg 1 1 0 wz--n- 100.00G 98.04G
[root@cl40 mpath]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
newvol new_vg -wi--- 1.95G
I have to mount this newvol on new_vg..Coming from HP-UX i am trying a manual mount and it fails..What would be the correct syntax to mount this filesystem manually and also the correct entry in the fstab. i did the following cmd to create filesystem
(mkfs.ext3 /dev/new_vg/newvol) so that it could mount on reboots. Please help.
Thanks
Brian.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 11:24 AM
тАО12-07-2010 11:24 AM
Re: mounting filesystem on a logical volume
Assuming you have mkfs.ext[2,3] /dev/new_vg/newvol alerady:
TO manually mount:
mount /dev/new_vg/newvol /mntpnt
Fstab entry:
/dev/new_vg/newvol /mntpnt ext3 defaults 1 2
or
/dev/mapper/new_vg-newvol /mnt ext3 defaults 1 2
or
UUID="90367864-193a-4492-9524-f79db62e690f" /mnt ext3 defaults 1 2
where UUID val is "blkid /dev/new_vg/newvol"
The last form is the best practice.
TO manually mount:
mount /dev/new_vg/newvol /mntpnt
Fstab entry:
/dev/new_vg/newvol /mntpnt ext3 defaults 1 2
or
/dev/mapper/new_vg-newvol /mnt ext3 defaults 1 2
or
UUID="90367864-193a-4492-9524-f79db62e690f" /mnt ext3 defaults 1 2
where UUID val is "blkid /dev/new_vg/newvol"
The last form is the best practice.
Hakuna Matata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:45 PM
тАО12-07-2010 03:45 PM
Re: mounting filesystem on a logical volume
Thanks Alzhy..
I seem to have lot HP-UX imprints in me and even try to do mkfs on the rlvol (LOL)..But generally the mkfs in linux is it normally done on a logical volume?
Thanks
Brian.
I seem to have lot HP-UX imprints in me and even try to do mkfs on the rlvol (LOL)..But generally the mkfs in linux is it normally done on a logical volume?
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2010 02:18 AM
тАО12-08-2010 02:18 AM
Re: mounting filesystem on a logical volume
Yes. There are no rlvol files for LVs in Linux, just the one lvol, which is the one used to create a file system. The fstab entries Alzhy already correctly described.
If it is still not working - what are the error messages?
If it is still not working - what are the error messages?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP