Re: recover lvm partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/18/2010 11:25 PM, Patrick Dupre wrote:
> Hello,
> 
> I made a big mistake, think that lvm partitionning was working has
> gparted !
> 
> In a couple of words
> I made a lvreduce -l+250 /dev/Vol0/part1
> then
> lvextend -l+250 /dev/Vol0/part2
> 
> part1 had more than 250 extends free but fsck abort on /dev/Vol0/part1
> (but is OK on part2).
> Can I go back, ie. move back the 250 extends ?

no. not exactly.

sounds like you forgot to resize2fs the filesystem prior to the reduction. That
is a non-recoverable, catastrophic, mistake. You will need to recover from your
most recent backup.

you *may* be able to mount the non-fsck filesystem and copy it somewhere. do not
expect that everything will be recovered, from what you have described, it is
likely that any files that were in the extends that you gave up will be
corrupted. in fact, the copy of those files will fail because the blocks that
the file used to be in is no longer balled to the block device.

but you *may* be able to recover other files, before you go about the business
of rebuilding and reconstructing your lvm...

All the best,

- -Greg

> Thank.
> 


- -- 
+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   ghosler@xxxxxxxxxx    |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0NZJsACgkQ404fl/0CV/RqbgCbBt1l97BnA/dxKa4CcEB8JWgB
1s4AnihgvQPwB7YVbp5kKvc/r6AOYxlW
=kH5q
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux