HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Snapshots snapof=
Operating System - HP-UX
1832970
Members
3736
Online
110048
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
Discussions
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
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
02-28-2006 05:40 AM
02-28-2006 05:40 AM
Snapshots snapof=
This should be an easy one. I think I know the answer but because it has to do with backups I want a second opinion.
I have the following command which creates a snapshot.
/usr/sbin/mount -F vxfs -o snapof=/dev/vgprd/prd /dev/vgprd/prdbu /buprd
Now that I have the snapshot.....
I backup using the new mount point of /buprd (/dev/vgprd/prdbu) not my original mount point /prd (/dev/vgprd/prd). Correct???
I have the following command which creates a snapshot.
/usr/sbin/mount -F vxfs -o snapof=/dev/vgprd/prd /dev/vgprd/prdbu /buprd
Now that I have the snapshot.....
I backup using the new mount point of /buprd (/dev/vgprd/prdbu) not my original mount point /prd (/dev/vgprd/prd). Correct???
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 05:53 AM
02-28-2006 05:53 AM
Re: Snapshots snapof=
Yes, that is correct although my convention (and therefore, by definition, the "correct" convention) is to use "snap" as the prefix so that /buprd would become /snapprd. You would backup using the "/buprd" mountpoint but the regular application continues to use normal mountpoint.
You haven't quite got the command right; I assume that your filesystem is called /u01/myfilesystem.
mount -F vxfs -o snapof=/u01/myfilesystem /dev/vgprd/prdbu /snapmyfilesystem
You use the mountpoint of the original filesystem rather than the underlying block device. The 2nd argument should be a block device ~ 15% as large as the original filesystem. It is used as the snapshot buffer.
When you all all done, you issue a umount /snapmyfilesystem and you are done. I typically also remove the snapshot mountpoints at this time and recreate them just prior to the next snapshot.
You haven't quite got the command right; I assume that your filesystem is called /u01/myfilesystem.
mount -F vxfs -o snapof=/u01/myfilesystem /dev/vgprd/prdbu /snapmyfilesystem
You use the mountpoint of the original filesystem rather than the underlying block device. The 2nd argument should be a block device ~ 15% as large as the original filesystem. It is used as the snapshot buffer.
When you all all done, you issue a umount /snapmyfilesystem and you are done. I typically also remove the snapshot mountpoints at this time and recreate them just prior to the next snapshot.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 06:10 AM
02-28-2006 06:10 AM
Re: Snapshots snapof=
I am so glad that I asked my question!
I have been running it using the block device name instead of the mount point for a couple of months now. Glad I haven't had an outage and had to restore. Thanks.
I have been running it using the block device name instead of the mount point for a couple of months now. Glad I haven't had an outage and had to restore. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 06:31 AM
02-28-2006 06:31 AM
Re: Snapshots snapof=
Actually I should have said that either the mountpoint or the block device could be used as the snapof= argument. It's just that, if the mountpoint is used, the association (at least with respect to us dumb humans) to the snapshot mointpoint is much more obvious.
e.g.
snapof=/prd /dev/vgprd/prdbu /snapprd
is clearer than
snapof=/dev/vgprd/prd /dev/vgprd/prdbu /snapprd
It's even more clear when the standard lvol1, lvol2, ... convention is used.
e.g.
snapof=/prd /dev/vgprd/prdbu /snapprd
is clearer than
snapof=/dev/vgprd/prd /dev/vgprd/prdbu /snapprd
It's even more clear when the standard lvol1, lvol2, ... convention is used.
If it ain't broke, I can fix that.
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 2025 Hewlett Packard Enterprise Development LP