xfs
[Top] [All Lists]

Re: SAN resizing disk, no LVM

To: David Sparks <daves@xxxxxxxxxxxxxxx>
Subject: Re: SAN resizing disk, no LVM
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Thu, 28 Apr 2005 14:48:58 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <42713F67.6010905@xxxxxxxxxxxxxxx>
References: <22029.1114645639@xxxxxxxxxxxxxxx> <42713F67.6010905@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, Apr 28, 2005 at 12:54:15PM -0700, David Sparks wrote:

> How big is the superblock?

512 bytes usually (I guess with larger sector size it's sorta larger)

> Was only the superblock damaged by "fixing" the partition table with
> fdisk?

I didn't read the original message, but if you use XFS on the device
(not a partition) then fdisk and friends will break SB0.

This is because XFS places the first super block right at the start of
the disk (all other common Linux filesystems leave some space so this
doesn't bite them).

> One could just rename fdisk on machines directly attached to the
> storage to prevent accidental damage. (very cheesy)

Sounds like a better idea is to educate the sysadmins and failing that
whip them with salty reeds.


<Prev in Thread] Current Thread [Next in Thread>