- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: i cannot mount filesystem on hpux
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
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
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
10-23-2014 09:51 AM
10-23-2014 09:51 AM
Hi !
Please help . I cant mount filesystem /rac-quorum2 . I did all these commands and i didnt have no result.
pvcreate -f /dev/rdisk/disk645
lvmadm -l
diskinfo /dev/rdisk/disk645
mkdir /dev/vgquorum2
mknod /dev/vgquorum2/group c 64 0x400000
vgcreate -s 16 vgquorum2 /dev/disk/disk645
***
Volume group "/dev/vgquorum2" has been successfully created.
Volume Group configuration for /dev/vgquorum2 has been saved in /etc/lvmconf/vgquorum2.conf
***
mkdir /rac-quorum2
lvcreate -L 5104 -n lvquorum2 /dev/vgquorum2
***
Logical volume "/dev/vgquorum2/lvquorum2" has been successfully created with
character device "/dev/vgquorum2/rlvquorum2".
Logical volume "/dev/vgquorum2/lvquorum2" has been successfully extended.
Volume Group configuration for /dev/vgquorum2 has been saved in /etc/lvmconf/vgquorum2.conf
***
mkfs -F vxfs -o largefiles /dev/vgquorum2/rlvquorum2
*****there is no result message here and finally....********
mount -F vxfs -o largefiles /dev/vgquorum2/lvquorum2 /rac-quorum2
UX:vxfs mount: ERROR: V-3-20012: not a valid vxfs file system
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
Regards
Alonso Paucar
Solved! Go to Solution.
- Tags:
- Filesystem
- mkfs
- mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2014 06:05 AM
10-24-2014 06:05 AM
Re: i cannot mount filesystem on hpux
It looks like the 'mkfs' did not actually create a file system on the LV.
Try newfs instead of mkfs.
# newfs -F vxfs -o largefiles /dev/vgquorum2/rlvquorum2
Once that is done, try mounting the LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2014 03:39 AM
10-27-2014 03:39 AM
Re: i cannot mount filesystem on hpux
Hello,
if you are using hpux 11.31, no need to specify largefiles,
I suggest you to add option "-b 8192" to your command newfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2014 09:58 AM
10-27-2014 09:58 AM
Re: i cannot mount filesystem on hpux
After lvcreate try below commands, it will work..
newfs -F vxfs /dev/vgquorum2/rlvquorum2
mount /dev/vgquorum2/lvquorum2 /rac-quorum2
rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2014 12:20 PM
11-10-2014 12:20 PM
SolutionHi,
Thanks a lot Patrick Wallek , srayfay and rkjha_hp for your help. I found the solution , here the details.
***********************************************************************************
# mount -F vxfs /dev/vg00/usr_sap_prd /test1
UX:vxfs mount: ERROR: V-3-20012: not a valid vxfs file system
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
Here, when running the newfs command, it is not actually creating the filesystem.
It is same with the mkfs command as well.
Execute this
#ls -l /sbin
lr-xr-xr-x 1 bin bin 16 Jul 9 13:14 extendfs -> /sbin/fs_wrapper
-r-xr-xr-x 1 bin bin 0 Jul 21 16:41 fs_wrapper
lr-xr-xr-x 1 bin bin 16 Jul 9 13:14 fsck -> /sbin/fs_wrapper
lr-xr-xr-x 1 bin bin 16 Jul 9 13:14 fsdb -> /sbin/fs_wrapper
lr-xr-xr-x 1 bin bin 16 Jul 9 13:14 mkfs -> /sbin/fs_wrapper
lr-xr-xr-x 1 bin bin 16 Jul 9 13:14 newfs -> /sbin/fs_wrapper
The mkfs/newfs/extendfs/fsck/fsdb files are a soft link to /sbin/fs_wrapper and its size is 0 bytes.
Running swverify \* also returned an error about this /sbin/fs_wrapper file and from which fileset/patch this file was installed.
ERROR: File "/sbin/fs_wrapper" should have mtime "1115195874" but the
actual mtime is "1248174665".
ERROR: File "/sbin/fs_wrapper" should have size "647260" bytes but
the actual size is "0" bytes.
ERROR: Fileset "OS-Core.UX2-CORE,l=/,r=B.11.23" had file errors.
Solution
We need to restore the /sbin/fs_wrapper file for newfs /mkfs to work correctly. This can be done using the following methods:
• If the other system has identical operating system/patches, then we can copy the file from the other system.
***********************************************************************************
I just copy the file fs_wrapper from another same server with same patches and thas all. Then i can create filesystems with the command mkfs.
Thanks/Regards
Alonso Paucar