Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Restoring a snapshot of a quiescent filesystem which may be corrupted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restoring a snapshot of a quiescent filesystem which may be corrupted



At 4:11 AM -1000 3/25/07, Sergio Trejo wrote:
Hello all,

I have noticed the suggestions here from experienced people who, time and again, repeat the wisdom suggesting use of RAID mirrors (using Apple's Software RAID built into Mac OS X Server, particularly 10.4.x Server), and the "split mirror" approach to taking snapshots of quiescent filesystems (using asr).

What if the quiescent filesystem (such as an HFSX journaled formatted filesystem) is corrupted or has some sort of filesystem error on it (unbeknown to the system administrator that is the custodian of this filesystem) -- for example,

Then you have a copy of the corrupted filesystem. This is no different than with any other backup methodologies.


/However/, given that you have the filesystem offline to play with you could easily verify or repair it /before/ the backup and mitigate this issue.

This should all have gone w/o saying from common sense.

what if the the filesystem crashed due to a kernel error or maybe a freak accident such as a UPS failing during a power disruption (causing the power to fail and for an ungraceful shutdown to take place).

Then it wouldn't have been available to have been split off.

In such a situation, it may not be discoverable until days or weeks later that the filesystem being snapshotted in a quiescent manner is corrupted.

No. See above.

So, we end up with an asr snapshot clone of this filesystem and later on we desire to restore this clone. I understand that the clone restoration using asr should choose to erase the target volume being restored to, but I am wondering if the corrupted bits of the snapshot will also be cloned to the target volume (and thus the corruption could be propagated to the target volume)?

No. See above.

Furthermore, what is the recommended best practice to detect if the state of an HFSX journaled filesystem is not corrupted and thus worthy of snapshotting?

:incredulous look:

verify the filesystem using fsck, et cetera.
--

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
email@hidden                                http://www.iwiring.net/
1-714-363-1174

"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss

------------------------------------------------------------------------

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Restoring a snapshot of a quiescent filesystem which may be corrupted (From: "Sergio Trejo" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.