Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17
Rep:
Hi, from the top of my head, did the disk contain any lvm partitioning prior to adding it to the new volume group. If so I would suggest you to take it out of the current volume group and do a "vgimport <volgrpname> <physicalvolname> and then do a "vgchange -ay <volgrpname>", that should be able to bring back the data you wanted safely. If you do a vgreduce you would lose that existing data.
I don't think you can do this.
The normal sequence is
partitions /dev/cciss/c0d1p1 & /dev/cciss/c0d1p2 both set as pv (fdisk id code 8e), vgcreate + vgextend, putting both pv's into the vg, create lv from the vg and then mkfs over the lv.
ok, i launched vgreduce to extract c0d1p1 and now partition is not readable...
i'have launched fsck to restore the partition super block and it seems to work...
mounted with /etc/fstab line
at reboot it recognize the partition and is making a a forced check without obliging me to enter maintenance mode...
supposing it restore....
what about if a create a volgroup ----> add only /dev/cciss/c0d1p1 -----> launch parted on volgroup -----> rescue command to restore partition without data loss
what do you think about? is it possible?
i know that all data are still there because in maintenance mode, if i do
ls /dev/cciss/c0d1p1
it gives me the list of contents but doesn't give me access
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.