Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
01-07-2009, 04:56 AM
|
#16
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Rep:
|
A quick word. Definitely backup if repartitioning drives etc. but even more importantly ensure that the backup eg: DVD can actually be RESTORED without problems before doing the repartitioning. Got caught on this once and have never forgotten since!
|
|
|
01-08-2009, 04:29 AM
|
#17
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,638
Rep: 
|
Hmm. I used LVM until the time I installed a new driver(?) version (LVM2) along with a system update and could not anymore get at my LVM1 data. Not funny.
Can one do a meaningful "dd" during data rescues in a LVM'ed system with its stripes?
|
|
|
01-08-2009, 06:41 AM
|
#18
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Using LVM, it can be difficult when booting up to a rescue disk. I had a problem after I opted for LVM during installing SuSe 11.1 on my desktop. I discovered the vgmknodes command which created the device nodes that were missing. After that, I could mount the logical volumes.
I think that servers like database servers using LVM volumes are backed up using a mirror snapshot rather than creating a dd image. If you create an dd image, don't image the physical volumes. If you did, I think you would need to use losetup to attach a device to the backup images, and then use vgmknodes so that the kernel will recognize those loop devices.
IMHO, LVM is convenient if you will need to add drives to increase the size of a partition. Otherwise it seems to be a pain.
I wouldn't recommend image backups anyway, except for the initial installation.
|
|
|
01-08-2009, 07:00 AM
|
#19
|
Member
Registered: Jun 2008
Posts: 81
Rep:
|
Quote:
Originally Posted by JZL240I-U
Hmm. I used LVM until the time I installed a new driver(?) version (LVM2) along with a system update and could not anymore get at my LVM1 data. Not funny.
Can one do a meaningful "dd" during data rescues in a LVM'ed system with its stripes?
|
Please open another thread and explain what have you used and what are you using now (vendor, kernel, etc.)
|
|
|
01-08-2009, 02:22 PM
|
#20
|
Senior Member
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337
|
Quote:
Originally Posted by JZL240I-U
Can one do a meaningful "dd" during data rescues in a LVM'ed system with its stripes?
|
No. Unless you dd the entire disk or entire partition that constitutes the PV.
The only thing I ever dd for backup anyway is Track Zero. That contains the MBR (which in turn contains the partition table and GRUB stage 1), and the GRUB stage 1.5 stuff that follows the MBR (but still contained within Track Zero). Everything else is backed up using tar and gz. Or rsync. Or whatever other file-based backup method I choose to use. File-based backups of the OS don't work very well for Windows (if at all!), but they work great for Linux. Imaging of the OS is more of a Windows thing than a Linux one (except where you might want to image an entire disk or entire partition for quick replication/restoration of identical machines).
|
|
|
01-09-2009, 03:14 AM
|
#21
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,638
Rep: 
|
Thanks, haertig. And yes, I handle backups like you do. I was just thinking of the repair after a file system crash or of restoring an inadvertently deleted file. Here LVM will be a problem then.
If I really have to change partition layout there is still "gparted".
|
|
|
01-10-2009, 12:18 AM
|
#22
|
Member
Registered: Jun 2008
Posts: 81
Rep:
|
Quote:
Originally Posted by JZL240I-U
Thanks, haertig... I was just thinking of the repair after a file system crash or of restoring an inadvertently deleted file. Here LVM will be a problem then.
...
|
If you had open another thread you could have caught more attention. Anyways for the sake of truth see mondo and testdisk.
|
|
|
01-12-2009, 02:20 AM
|
#23
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,638
Rep: 
|
Thank you for trying to help me avalonit. But the problem I had with the change of the LVM version is several years gone and I mentioned the thing about deleted files and "dd" just as some basic potential stumbling stones if someone wants to use LVM.
|
|
|
All times are GMT -5. The time now is 07:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|