[opensuse] Re: conflicting partition size
Le 28/01/2012 14:15, Anton Aylward a écrit :
decades ago) there are practical problems, but I've found LVM gets around most of them.
lvm makes it very difficult to repair a damaged partition table and if any of the involved partition fails, all the system is lost jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd said the following on 01/28/2012 02:44 PM:
Le 28/01/2012 14:15, Anton Aylward a écrit :
decades ago) there are practical problems, but I've found LVM gets around most of them.
lvm makes it very difficult to repair a damaged partition table and if any of the involved partition fails, all the system is lost
Not really. If you are talking about the partition table manipulated by fdisk then you just set it back to the whole disk being a LVM ... you did tun it that way didn't you? if not, why not? The there's /etc/lvm/lvm.conf /etc/lvm/archive /etc/lvm/backup which you should have read about in the LVM man page. Actually, its simple enough to run a pvscan. But regardless - its about backups. Speaking form experience, I've been able to recover supposedly trashed drives where the partition table has been corrupted ONLY because the drive had LVM rather than conventional partitioning. Sorry, experience of doing it trumps 'they said it can't be done' every time. Having another machine on which you can read the man page and go google helps, of course :-) I carried out the repairs using the lvmtools running on a LiveCD. Yes this was to a openSuse system. Of course it helps that I knew from my written notes (you do keep a log book, don't you?) that I had a 150M /boot partition then the rest of the drive as LVM. Of course if you don't keep backups (and of your lvm config) and don't keep written activity and design decision logs then I can't be held responsible for what you are unable to do, even though I *can* do. Please: I get a bit pizzed-0off when people tell me that its not possible to do something that I have already done. -- "Man, or at least criminal man, has lost all enterprise and originality. As to my own little practice, it seems to be degenerating into an agency for recovering lost lead pencils and giving advice to young ladies from boarding-schools." -- Sherlock Holmes, in "The Adventure of the Copper Beeches" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 28/01/2012 21:49, Anton Aylward a écrit :
Please: I get a bit pizzed-0off when people tell me that its not possible to do something that I have already done.
mileage may vary. see other posts jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 29 Jan 2012 06:14:32 jdd wrote:
Le 28/01/2012 14:15, Anton Aylward a écrit :
decades ago) there are practical problems, but I've found LVM gets around most of them.
lvm makes it very difficult to repair a damaged partition table and if any of the involved partition fails, all the system is lost
jdd
BTDT. Lost one partition in the middle of an lvm volume across 3 physical partitions - could not recover anything! I did have a backup, but not completely up to date. I changed my backup procedures after that. :-) Mind you, this was a long time ago, FC5 from memory, but I haven't used lvm since! Things have hopefully improved since then... -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Rodney Baker said the following on 01/28/2012 10:06 PM:
On Sun, 29 Jan 2012 06:14:32 jdd wrote:
Le 28/01/2012 14:15, Anton Aylward a écrit :
decades ago) there are practical problems, but I've found LVM gets around most of them.
lvm makes it very difficult to repair a damaged partition table and if any of the involved partition fails, all the system is lost
jdd
BTDT. Lost one partition in the middle of an lvm volume across 3 physical partitions - could not recover anything! I did have a backup, but not completely up to date. I changed my backup procedures after that. :-)
Mind you, this was a long time ago, FC5 from memory, but I haven't used lvm since! Things have hopefully improved since then...
Yes they have. I discussed this with Rodney and others a while back; go check the archives. Much comes with experience and practice and reading the manuals :-) Make sure you back up /etc/lvm/* *sigh* Sometimes I miss floppy disks for taking snapshots of just one or two config files like that *sigh* -- All truths are easy to understand once they are discovered; the point is to discover them. -- Galileo Galilei. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Anton Aylward wrote:
Make sure you back up/etc/lvm/*
*sigh* Sometimes I miss floppy disks for taking snapshots of just one or two config files like that*sigh*
USB flash drives are cheap and can hold a lot of things. Another trick I've used is to simply email them to myself and leave them on the server. One problem with floppies is they're not reliable in the long term and often short term. Blank CDs or DVDs are another option. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott said the following on 01/29/2012 07:41 AM:
Anton Aylward wrote:
Make sure you back up/etc/lvm/*
*sigh* Sometimes I miss floppy disks for taking snapshots of just one or two config files like that*sigh*
USB flash drives are cheap and can hold a lot of things. Another trick I've used is to simply email them to myself and leave them on the server. One problem with floppies is they're not reliable in the long term and often short term. Blank CDs or DVDs are another option.
Knowing that intellectually is one thing ... What did floppies cost? About less than $1. Remember the early Star Trek episodes where Spock had a stack of data cards that looked very like 3.5" floppies. I know, intellectually, that a spindle of 50 CDs costs maybe $5 ... $10 at the outside. DVD perhaps a bit more, but even at one tenth the cost of a floppy it seems odd to put less than 1M of data on something that can hold nearly 1G. I've never understood why those dinky credit-card sized CDs are so expensive! But at least you can write on CDs. USB drives seem to be about $1/G these days. I've got lots of trade-show hand-outs at less than 1G but I'm going to have to white-ex them and write a number then have a card index to tell me which one is which. One config per floppy made so much sense ... ____ ___ ____ _ _ __/\__/ ___|_ _/ ___| | | |_/\__ \ /\___ \| | | _| |_| \ / /_ _\ ___) | | |_| | _ /_ _\ \/ |____/___\____|_| |_| \/ -- 'A virus is what people who can't spell pneumonia get.' -- Eric Morecombe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Anton Aylward wrote:
One config per floppy made so much sense ...
As I mentioned, try email. Set up a free email account on GMail or other and email the files to yourself there. Then they'll always be available so long as you have access to a browser & Internet. You can also create folders to help organize the files. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 29/01/2012 14:38, James Knott a écrit :
Anton Aylward wrote:
One config per floppy made so much sense ...
As I mentioned, try email. Set up a free email account on GMail or other and email the files to yourself there. Then they'll always be available so long as you have access to a browser & Internet. You can also create folders to help organize the files.
I don't think gmail gives this assurance. These archives can also be lost. That said it's much better than other thing (if nothing is really private in them) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 1/29/2012 7:59 AM, Anton Aylward wrote:
James Knott said the following on 01/29/2012 07:41 AM:
Anton Aylward wrote:
Make sure you back up/etc/lvm/*
*sigh* Sometimes I miss floppy disks for taking snapshots of just one or two config files like that*sigh*
USB flash drives are cheap and can hold a lot of things. Another trick I've used is to simply email them to myself and leave them on the server. One problem with floppies is they're not reliable in the long term and often short term. Blank CDs or DVDs are another option.
Knowing that intellectually is one thing ...
What did floppies cost? About less than $1. Remember the early Star Trek episodes where Spock had a stack of data cards that looked very like 3.5" floppies.
I know, intellectually, that a spindle of 50 CDs costs maybe $5 ... $10 at the outside. DVD perhaps a bit more, but even at one tenth the cost of a floppy it seems odd to put less than 1M of data on something that can hold nearly 1G.
I've never understood why those dinky credit-card sized CDs are so expensive!
But at least you can write on CDs. USB drives seem to be about $1/G these days. I've got lots of trade-show hand-outs at less than 1G but I'm going to have to white-ex them and write a number then have a card index to tell me which one is which.
One config per floppy made so much sense ...
____ ___ ____ _ _ __/\__/ ___|_ _/ ___| | | |_/\__ \ /\___ \| | | _| |_| \ / /_ _\ ___) | | |_| | _ /_ _\ \/ |____/___\____|_| |_| \/
Take the whole /etc dir per usb stick, write only the name of the machine on the stick, not even the date since you will be routinely updating. Use rsync, just for simplicity, there is no speed advantage to rsync other than over a slow network link. Any configuration that is machine-specific and not trivial to create from scratch again that isn't in /etc, _should be_. _Fix that_. This is why. Any large binary/data/log files that are anywhere in or under /etc, _should not be_. _Fix that._ This is why. Not counting personal desktop configs in /home. That's a whole other issue and from a sysadmin standpoint is considered just user data like any other data such as the application db files or the contents of htdocs, not "host config". You would be backing up /home and other stuff some other way already. You should be able to copy or update the entire /etc in seconds and it should include anything you might ever need and it's anywhere from 10M to 100M uncompressed, 1.5M to at least under 50M compressed if space was an issue on a small thumb drive or if you want to keep multiple machines on one drive. It's essentially the same effort as copying a single file to a floppy, in terms of time and in terms of physical actions. But you get the entire /etc which is both more useful and easier than thinking about which might be the really critical files some day if this or that happens. -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012/01/29 13:10 (GMT-0500) Brian K. White composed:
Take the whole /etc dir per usb stick, write only the name of the machine on the stick, not even the date since you will be routinely updating. Use rsync, just for simplicity, there is no speed advantage to rsync other than over a slow network link.
Any configuration that is machine-specific and not trivial to create from scratch again that isn't in /etc, _should be_. _Fix that_.
+infinity
Any large binary/data/log files that are anywhere in or under /etc, _should not be_. _Fix that._
+infinity -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Anton Aylward
-
Brian K. White
-
Felix Miata
-
James Knott
-
jdd
-
Rodney Baker