getting started with LVM
I am currently doing some research for my employer regarding storage and backups. We currently use dump as a backup utility due to limited budget. However, dump has been giving us fits due to lseek errors.
Someone suggested looking into LVM, so here I am. I looked a the website and did a little digging, but I was unable to find out if LVM will serve my purposes.
If anyone can lend a hand and provide feedback that can tell me if LVM is worth my effort to solve this problem, or where I can find this sort of information, I'd be vert greatful.
Thanks in advance...
-- Ben Snyder <[email protected]> on 05/23/02 16:43:24 -0400
Quoted 11 lines
I am currently doing some research for my employer regarding storage and backups. We currently use dump as a backup utility due to limited budget. However, dump has been giving us fits due to lseek errors.
Someone suggested looking into LVM, so here I am. I looked a the website and did a little digging, but I was unable to find out if LVM will serve my purposes.
If anyone can lend a hand and provide feedback that can tell me if LVM is worth my effort to solve this problem, or where I can find this sort of information, I'd be vert greatful.
Dumping dump might be the first thing that would help. It's old and tired and deserves a rest... For free utilities you can get better speed and filtering with cpio, which backs up from the file system rather than inodes. At that point LVM is a nice solution for managing anything large enough to be backed up.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
Something I probably should have mentioned....due to some software we use to serve our customers, we have hard links - TONS of them. We looked at cpio, but cpio does not restore hardlinks correctly, dump will. We also looked at tar, 'star', dd, just about anything to take the data from one device/filesystem to another.
Thanks for the feedback though.
Quoted 35 lines · [email protected] wrote:
-- Ben Snyder <[email protected]> on 05/23/02 16:43:24 -0400
Quoted 4 lines
I am currently doing some research for my employer regarding storage and backups. We currently use dump as a backup utility due to limited budget. However, dump has been giving us fits due to lseek errors.
Quoted 8 lines
Someone suggested looking into LVM, so here I am. I looked a the website and did a little digging, but I was unable to find out if LVM will serve my purposes.
If anyone can lend a hand and provide feedback that can tell me if LVM is worth my effort to solve this problem, or where I can find this sort of information, I'd be vert greatful.
Dumping dump might be the first thing that would help. It's old and tired and deserves a rest... For free utilities you can get better speed and filtering with cpio, which backs up from the file system rather than inodes. At that point LVM is a nice solution for managing anything large enough to be backed up.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647+1 800 762 1582_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Quoted 5 lines · Ben Snyder
Something I probably should have mentioned....due to some software we use to serve our customers, we have hard links - TONS of them. We looked at cpio, but cpio does not restore hardlinks correctly, dump will. We also looked at tar, 'star', dd, just about anything to take the data from one device/filesystem to another.
Have you considered using cp -aux? It should restore hardlinks.
Signature · 5 lines
Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602-8044 915-695-6962 ext 115
Hi, Ben!
Ben Snyder ([email protected]) wrote 54 lines:
Quoted 2 lines
Something I probably should have mentioned....due to some software we use to serve our customers, we have hard links - TONS of them.
Have you looked at afio (and it's -4 option for dealing with more than 64k hardlinks)? Be sure to read the 'BUGS' section as well.
Oh, and afio can compress the backup -- by compressing 'per file', thus corruption only kills the affected files.
-Wolfgang
Quoted 5 lines
Something I probably should have mentioned....due to some software we use to serve our customers, we have hard links - TONS of them. We looked at cpio, but cpio does not restore hardlinks correctly, dump will. We also looked at tar, 'star', dd, just about anything to take the data from one device/filesystem to another.
To copy data from one filesystem another, preserving hard links, I use:
rsync -avxSHW /source-dir/ /target-dir
-a same meaning as for "cp" i.e. recurse and copy metadata -v be verbose -x do not cross filesystem boundaries -S handle sparse files -H handle hard links -W only copy whole files
Trailing slash on source-dir makes it copy *contents* of directory rather than directory itself.
It only copies changed changed files.
Be sure to use version 2.5.2 or higher of rsync.
Bill
Signature · 19 lines
William H. Blunn - <[email protected]> - Developer Support Tao 62/63 Suttons Business Park, Earley, READING, RG6 1AZ, United Kingdom Tel: +44 118 901 2999 - Fax: +44 118 901 2963 - http://tao-group.com/ The contents of this e-mail and any attachments are confidential and may be legally privileged. If you have received this e-mail and you are not a named addressee, please inform us as soon as possible on +44 118 901 2999 and then delete the e-mail from your system. If you are not a named addressee you must not copy, use, disclose, distribute, print or rely on this e-mail. Any views expressed in this e-mail or any attachments may not necessarily reflect those of Tao's management. Although we routinely screen for viruses, addressees should scan this e-mail and any attachments for viruses. Tao makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that for the protection of our business, we may monitor and read e-mails sent to and from our server(s). Visit our website at http://tao-group.com/