From: Weiner, Michael [mailto:weinerm@ccf.org]
From: Gordon Messmer [mailto:gordon.messmer@gmail.com]
On 04/21/2016 10:08 AM, Weiner, Michael wrote:
> mkfs.ext3 -F -b 4096 -n /dev/sdb1
> >Note that I don't have a CentOS 5 system around for testing, and I don't
know what mixing -F and -n does.
Yeah I was a little nervous about that, and as such, I didn’t try it:) because the
flags are also counter to one another.
Nonetheless, if you created a 15TB ext3 filesystem using the vendor's tools, you would
have *had* to use "-F -b 4096". You're not going to locate superblock
backups using any other set of arguments.
[root@raos_apps01 ~]# mke2fs -F -b 4096 -n /dev/sdb1 mke2fs 1.39 (29-May-2006) Filesystem
label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2)
1830420480 inodes, 3660840711 blocks
183042035 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem
blocks=4294967296
111720 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544, 1934917632,
2560000000
However I cannot use any of the superblocks it seems:
[root@raos_apps01 ~]# fsck -b 98304 /dev/sdb1
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
fsck.ext3: Bad magic number in super-block while trying to open /dev/sdb1
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
===================================
Please consider the environment before printing this e-mail
Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World
Report (2015).
Visit us online at
http://www.clevelandclinic.org for a complete listing of our services,
staff and locations.
Confidentiality Note: This message is intended for use only by the individual or entity
to which it is addressed and may contain information that is privileged, confidential, and
exempt from disclosure under applicable law. If the reader of this message is not the
intended recipient or the employee or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received this
communication in error, please contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.
Thank you.