* Create superblock
@ 2014-06-20 6:47 metaverse
2014-06-20 14:27 ` Eric Sandeen
0 siblings, 1 reply; 2+ messages in thread
From: metaverse @ 2014-06-20 6:47 UTC (permalink / raw)
To: xfs
Last week a harddrive in a NAS crashed in our office. Long story short: We
have been trying everything. In the end we where able to pull an image of
the hard drive. Also we found out there's no superblock or secondary blocks.
Since I have recovered successfully the data I was wondering if it was
possible to create a new superblock and secondary block. If not I'll create
a new partition and place all the data back.
Scary that only a power outage can do this...
TL;DR: Is it possible to create a new superblock from scratch?
--
View this message in context: http://xfs.9218.n7.nabble.com/Create-superblock-tp35023.html
Sent from the Xfs - General mailing list archive at Nabble.com.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Create superblock
2014-06-20 6:47 Create superblock metaverse
@ 2014-06-20 14:27 ` Eric Sandeen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2014-06-20 14:27 UTC (permalink / raw)
To: metaverse, xfs
On 6/20/14, 1:47 AM, metaverse wrote:
> Last week a harddrive in a NAS crashed in our office. Long story short: We
> have been trying everything. In the end we where able to pull an image of
> the hard drive. Also we found out there's no superblock or secondary blocks.
> Since I have recovered successfully the data I was wondering if it was
> possible to create a new superblock and secondary block. If not I'll create
> a new partition and place all the data back.
Not really enough info to go on here. How did you recover the data if
you have no valid superblock?
If you've got your data back, just mkfs a fresh filesystem and repopulate it.
Or by "recovered the data" do you just mean you have a dd image of the broken
drive?
> Scary that only a power outage can do this...
It shouldn't, unless the storage was configured in an unreliable way.
> TL;DR: Is it possible to create a new superblock from scratch?
Not in general, but rather than jumping to the proposed solution, perhaps
it would be better to describe the problem in detail:
http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F
At an absolute bare minimum, what happened when you ran xfs_repair?
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-20 14:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20 6:47 Create superblock metaverse
2014-06-20 14:27 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox