Most often, you need to perform a reboot when making changes to
partition tables.  I believe that fdisk even warns you of this.

--- Collins Richey <[EMAIL PROTECTED]> wrote:
> Prior to making major updates to my system, I always clone my running
> system to a spare partition and verify that it boots and runs.  Most
> of the time this goes without a hitch, but occasionally I have
> difficulty reformatting the spare partitions.  I wonder if anyone
> knows why.
> 
> Here''s the setup (my disk controllers are reversed hda&b are cdrom,
> hdc&d are disk
>       /dev/hdd9       current boot partition (ext3)
>       /dev/hdd10      current / partition (ext3) ca. 4.4gig
>       /dev/hdd7       spare boot partition
>       /dev/hdd8       spare /partition ca. 4.3 gig
>       other bootable partitions on /dev/hdc
> 
> I start out by formatting the spares
>       mke2fs -j /dev/hdd8     no problem
>       mke2fs -j /dev/hdd7     fails writing superblock (something about a short
> write)
>       much screwing around including badblock tests on hdd7 (aok)
>       all attempts fail
>       reboot and the problem disappears - hdd7 formats ok
>       clone completed and hdd7/8 made bootable (fstab altered, lilo
> updated)
>       new clone boots and runs ok
> 
> Any clue why sometimes I can't remake a fs over the top of an existing
> one?

=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman                          [EMAIL PROTECTED]

Linux Step-by-step help:           http://netllama.ipfox.com

                                                 .

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to