GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to mount an lvol that was a JFS snapshot
Operating System - HP-UX
1849326
Members
6870
Online
104042
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
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
10-18-2006 09:08 AM
10-18-2006 09:08 AM
We are attempting to use JFS snapshot to backup and lvol:
$ mount -F vxfs -o snapof=/dev/vgTeMIPFE01/lvolTeMIPvar /dev/vgTeMIPFE01/lvolTeMIPsnp /var/opt/TeMIP_directors_snap
…
Backup files from snap shot
…
$ umount /var/opt/TeMIP_directors_snap
Once the /dev/vgTeMIPFE01/lvolTeMIPsnp lvol is umounted, we attempted to do a normal mount of the lvol and got this error:
$ mount /dev/vgTeMIPFE01/lvolTeMIPsnp /var/opt/TeMIP_Directors_snap
/dev/vgTeMIPFE01/lvolTeMIPsnp: unrecognized file system
If you use the fstyp command:
root@omztcl10:/fstyp /dev/vgTeMIPFE01/lvolTeMIPsnp
UX:vxfs fstyp: ERROR: V-3-20012: not a valid vxfs file system
unknown_fstyp (no matches)
The quesion is: Is this normal behavior? Is it possible to mount a lvol/filesystem that was a snapshot? If not, then I assume this was just a temporary filesystem that was destroyed when it was originally umounted. If you can remount it, why is the file system now corrupt?
$ mount -F vxfs -o snapof=/dev/vgTeMIPFE01/lvolTeMIPvar /dev/vgTeMIPFE01/lvolTeMIPsnp /var/opt/TeMIP_directors_snap
…
Backup files from snap shot
…
$ umount /var/opt/TeMIP_directors_snap
Once the /dev/vgTeMIPFE01/lvolTeMIPsnp lvol is umounted, we attempted to do a normal mount of the lvol and got this error:
$ mount /dev/vgTeMIPFE01/lvolTeMIPsnp /var/opt/TeMIP_Directors_snap
/dev/vgTeMIPFE01/lvolTeMIPsnp: unrecognized file system
If you use the fstyp command:
root@omztcl10:/fstyp /dev/vgTeMIPFE01/lvolTeMIPsnp
UX:vxfs fstyp: ERROR: V-3-20012: not a valid vxfs file system
unknown_fstyp (no matches)
The quesion is: Is this normal behavior? Is it possible to mount a lvol/filesystem that was a snapshot? If not, then I assume this was just a temporary filesystem that was destroyed when it was originally umounted. If you can remount it, why is the file system now corrupt?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2006 11:43 AM
10-18-2006 11:43 AM
Re: How to mount an lvol that was a JFS snapshot
You need to explicitly specify the filesystem type switch "-F vxfs" in order to mount one i.e.
$ mount -F vxfs /dev/vgTeMIPFE01/lvolTeMIPsnp /var/opt/TeMIP_Directors_snap
~hope it helps
$ mount -F vxfs /dev/vgTeMIPFE01/lvolTeMIPsnp /var/opt/TeMIP_Directors_snap
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2006 01:50 PM
10-18-2006 01:50 PM
Solution
Once the snapshot is unmounted it nolonger has any meaning. The snapshot is actually a composite of the unchanged blocks in the original filesystem plus an image of the changed blocks (only the first write after the snapshot counts) stored in the snapshot buffer LVOL. Once ypu umount the snapof mountpoint, that connection is lost.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2006 02:07 PM
10-18-2006 02:07 PM
Re: How to mount an lvol that was a JFS snapshot
Technically ACP has explained very well the context of the VXFS snapshot and the funcationality.
Just to add that, the errors you see with mount/fstyp with snap lvol are expected. When you creat the lvol for snap, you don't create a filesystem on it, you just use it for snap. It doesn't carry any filesystem structure on it so mount/fstyp won't recognised it. In reality, the raw device interface of the snap lvol is used for snapshot.
Just to add that, the errors you see with mount/fstyp with snap lvol are expected. When you creat the lvol for snap, you don't create a filesystem on it, you just use it for snap. It doesn't carry any filesystem structure on it so mount/fstyp won't recognised it. In reality, the raw device interface of the snap lvol is used for snapshot.
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP