12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System Configuration—DisksThe fsck(8) command is used on a snapshot file to ensure the integrity of thesnapshot before taking backups:# fsck_ffs /var/snap1** /var/snap1 (NO WRITE)** Last Mounted on /var** Phase 1 - Check Blocks and Sizes** Phase 2 - Check Path names** Phase 3 - Check Connectivity** Phase 4 - Check Reference Counts** Phase 5 - Check Cyl groups464483 files, 5274310 used, 8753112 free (245920 frags, 1063399blocks, 1.8% fragmentation)Remember the following, when working with snapshots:• Snapshots will degrade the system's performance at the time of its creationand removal, but not necessarily while running.• Remove snapshots as soon as you finish your work.• Snapshots can be removed in any order, irrespective of the order in whichthey were created.You can also mount a snapshot as a read-only partition to view or extract itscontents, using the mount(8) command. To mount a snapshot, you should firstcreate a md(4) node as follows:# mdconfig -a -t vnode -f /var/snap1WARNING: opening backing store: /var/snap1 readonlymd2In the above case, mdconfig(8) command has attached /var/snap1 to the firstavailable md(8) node and returned the name of the created node. Now you canmount the md(8) node as a read-only file system:# mount -r /dev/md2 /mntAnd verify the operation using the mount(8) command:# mount/dev/ad0s1a on / (ufs, local, noatime, soft-updates)devfs on /dev (devfs, local)procfs on /proc (procfs, local)/dev/md1 on /tmp (ufs, local)/dev/md2 on /mnt (ufs, local, read-only)[ 14 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!