Re: recover lvm partition

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

 



On Sun, 19 Dec 2010, Gregory Hosler wrote:

-----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.a
Yes, I though that it will have do it by itself !
probably that system-config-lvm would have do it, but I did not find
a cd live with system-config-lvm !
I did not what to touch the lv on an active system.
So question, is it safe to resize the logical partition on an active
drive ?
Is there a live CD with a system-config-lvm ?

Thank.


 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-----


--
---
==========================================================================
 Patrick DUPRÃ                      |   |
 Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
 The University of York             |   |  Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |  email: patrick.dupre@xxxxxxxxxx
==========================================================================
-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux