Hello, I am messing around with zfs snapshots, and was wondering if it is possible to mount a zfs snapshot. I would like to use this snapshot to backup to tape. Currently, I see the data in the following path: /testjp1/.zfs/snapshot/testsnapjp This message and its attachments may contain legally privileged or confidential information. It is intended solely for the named addressee. If you are not the addressee indicated in this message (or responsible for delivery of the message to the addressee), you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of News America Incorporated or its subsidiaries must be taken not to have been sent or endorsed by any of them. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070906/a841a94d/attachment.html>
Poulos, Joe wrote:> Hello, > > > > I am messing around with zfs snapshots, and was wondering if it is > possible to mount a zfs snapshot. I would like to use this snapshot to > backup to tape. > > > > Currently, I see the data in the following path: > /testjp1/.zfs/snapshot/testsnapjpand for you to see it there it is already mounted. Why is doing the back up from that directory not an option ? -- Darren J Moffat
Ah, thanks! I thought it may be possible to show up as a separate mountpoint. But you''re right... this is not really needed! Thanks -----Original Message----- From: Darren.Moffat at Sun.COM [mailto:Darren.Moffat at Sun.COM] On Behalf Of Darren J Moffat Sent: Thursday, September 06, 2007 2:14 PM To: Poulos, Joe Cc: zfs-discuss at opensolaris.org Subject: Re: [zfs-discuss] zfs mount snapshot Poulos, Joe wrote:> Hello, > > > > I am messing around with zfs snapshots, and was wondering if it is > possible to mount a zfs snapshot. I would like to use this snapshotto> backup to tape. > > > > Currently, I see the data in the following path: > /testjp1/.zfs/snapshot/testsnapjpand for you to see it there it is already mounted. Why is doing the back up from that directory not an option ? -- Darren J Moffat This message and its attachments may contain legally privileged or confidential information. It is intended solely for the named addressee. If you are not the addressee indicated in this message (or responsible for delivery of the message to the addressee), you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of News America Incorporated or its subsidiaries must be taken not to have been sent or endorsed by any of them. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
You should probably be doing a ZFS clone and backing that up.> I am messing around with zfs snapshots, and was wondering if it is > possible to mount a zfs snapshot. I would like to use this snapshotto> backup to tape.This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
Bruce Shaw wrote:> You should probably be doing a ZFS clone and backing that up.Why ? clones are writeable and are thus changing. I don''t think that is good advice at all. Snapshots don''t change and are perfect for backups for that reason. You don''t need to clone to be able to continue writting in the filesystem who''s snapshot you are backing up. eg: $ zfs snapshot home/darrenm/Documents at backup-`date +%F` $ tar @pf /dev/tape Documents/>> I am messing around with zfs snapshots, and was wondering if it is >> possible to mount a zfs snapshot. I would like to use this snapshot > to >> backup to tape.-- Darren J Moffat
Hi All, At the time of zpool creation, user controls the zpool mount point by using "-m" option. Is there a way to change this mount point dynamically ? Your help is appreciated. Thanks & Regards Masthan D --------------------------------- Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070910/137a6f61/attachment.html>
dudekula mastan wrote:> Hi All, > > At the time of zpool creation, user controls the zpool mount point by > using "-m" option. Is there a way to change this mount point dynamically ?By dynamically I assume me mean after the pool has been created. If yes then do this if your pool is called "tank" and you want it mounted on /foo/bar zfs set mountpoint=/foo/bar tank Alternatively see the -R option for zpool import. -- Darren J Moffat