- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to mount the LV as /share?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
06-12-2006 08:51 PM
06-12-2006 08:51 PM
How to mount the LV as /share?
I'm working with HP-UX 11i V1, I create a volume group with 10 GB Logical volume! I need to mount this LV as /share & then mount it on Solaris Box. Could you help me with this issue please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 09:23 PM
06-12-2006 09:23 PM
Re: How to mount the LV as /share?
Lets say the logical volume name is
/dev/vg00/lvol5
This entry can be put in /etc/fstab
/dev/vg00/lvol5 /share vxfs delaylog 0 2
mount /share
To then export it and make it mountable on Solaris, you need to use NFS server.
add
/share
to the file:
/etc/exports
# You may wish to put in access restrictions.
exportfs -av
Done.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 09:50 PM
06-12-2006 09:50 PM
Re: How to mount the LV as /share?
I create a directory called share in the / and i add this entry /dev/vg04/lvol1 /share vxfs 02 in /etc/fstab
then when I do #mount share
It gives me this error:
vxfs mount: /dev/vg04/lvol1 is corrupted. needs checking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 10:11 PM
06-12-2006 10:11 PM
Re: How to mount the LV as /share?
Check the filesystem
fcsk -F vxfs /dev/vg04/rlvol1
Then try to mount it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 10:24 PM
06-12-2006 10:24 PM
Re: How to mount the LV as /share?
#fsck -F vxfs /dev/vg04/rlvol1
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 10:34 PM
06-12-2006 10:34 PM
Re: How to mount the LV as /share?
Hi,
have you done any modification in filesystem size using fsadm ?
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 10:36 PM
06-12-2006 10:36 PM
Re: How to mount the LV as /share?
In most cases it is caused by doing say a lvreduce prior to resizing the file system with fsadm.
In such cases we need to recreate the lvol !!
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 10:56 PM
06-12-2006 10:56 PM
Re: How to mount the LV as /share?
#newfs -F hfs /dev/vg04/lvol1
newfs (hfs): /dev/vg04/lvol1 is not a character device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 11:03 PM
06-12-2006 11:03 PM
Re: How to mount the LV as /share?
try with newfs -F hfs /dev/vgxx/rlvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 11:18 PM
06-12-2006 11:18 PM
Re: How to mount the LV as /share?
newfs -F vxfs /dev/vgxx/rlvolx
fsadm -F vxfs -o largefiles /dev/vgxx/rlvolx
mount -F vxfs -o largefiles /dev/vgxx/lvolx /mount_point
Modify /etc/fstab,
/dev/vgxx/lvolx mount_point vxfs largefiles,delaylog 0 2ç
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 05:32 PM
06-13-2006 05:32 PM
Re: How to mount the LV as /share?
I did the following:
I add /dev/vg04/lvol1 /share vxfs delaylog 0 2
in /etc/fstab
Then
#mkfs -F vxfs /dev/vg04/lvol1
#mount /dev/vg04/lvol1 /share
#bdf ---> Just to check
----------------
Now I need to mount /share on Solaris Machine??!!
Please be Patient to me because I'm new to hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 06:20 PM
06-13-2006 06:20 PM
Re: How to mount the LV as /share?
Hi,
Now edir the /etc/exports file
add the /share filesystem in that
run #exportfs -av
NOw the filesystem is ready to mount from solaris system.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 08:08 PM
06-13-2006 08:08 PM
Re: How to mount the LV as /share?
What should I write in it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 08:32 PM
06-13-2006 08:32 PM
Re: How to mount the LV as /share?
/share (The Solaris IP)(ro)
:wq
#exportfs -av
exported /share
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 09:08 PM
06-13-2006 09:08 PM
Re: How to mount the LV as /share?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 01:33 AM
06-14-2006 01:33 AM
Re: How to mount the LV as /share?
To mount the filesystem on the Sun, just do the following:
Create a mount point on the Sun box:
mkdir /share
Make sure the HP's IP address and hostname are in the /etc/hosts file on the Sun box.
Then mount the nfs filesystem from the HP box like so:
mount
That's all there is to it.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 05:53 PM
06-14-2006 05:53 PM
Re: How to mount the LV as /share?
I'm done with it.