[opensuse] documenting HD partitions...
Hello, I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
fdisk -l > whateverfile.txt jdd -- Jean-Daniel Dodin Président du CULTe www.culte.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 06/06/2008 10:42 PM, Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Instead of typing it in, how about fdisk -l > hard_disks, which will create a file called hard_disks in the current directory. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 6 Jun 2008, Joe Morris wrote:
On 06/06/2008 10:42 PM, Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Instead of typing it in, how about fdisk -l > hard_disks, which will create a file called hard_disks in the current directory.
Thanks that works. -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Nice. My special motivation to "don´t use paper" is protect the nature. Millions and millions of papers are printed with all technology which we have. Cheers. On Fri, Jun 6, 2008 at 5:31 PM, Boyd Lynn Gerber <gerberb@zenez.com> wrote:
On Fri, 6 Jun 2008, Joe Morris wrote:
On 06/06/2008 10:42 PM, Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Instead of typing it in, how about fdisk -l > hard_disks, which will create a file called hard_disks in the current directory.
Thanks that works.
-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- /\ Gabriel Stein gabrielstein@gmail.com MSN: gabrielstein@hotmail.com Administrador de Redes - Network Administrator Linux User #223750 +55 51 9357 3886 Porto Alegre - RS - Brasil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-06-06 at 18:37 -0300, Gabriel Stein wrote:
Nice. My special motivation to "don´t use paper" is protect the nature. Millions and millions of papers are printed with all technology which we have.
What about the tons of computer hardware that are not recycled? Paper is still easier to recycle :-p - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFISbEjtTMYHG2NR9URAn5BAJ9D26UBev1NwKlFLL1n/SnD5Gmt6ACgjMPy LGgzeVv1l0g8/VOoiS62Lf0= =/pUc -----END PGP SIGNATURE-----
On Fri, Jun 6, 2008 at 5:37 PM, Gabriel Stein <gabrielstein@gmail.com> wrote:
Nice. My special motivation to "don´t use paper" is protect the nature. Millions and millions of papers are printed with all technology which we have.
With all global warming going on I worry more about CO2 sequestering, so Grow trees (ie. sequester CO2) Make paper, Put paper in land fill. Paper very slowly decomposes (100+ years) and releases CO2 CO2 sequestered for a 100+ years, and I still get to print as much as want and not recycle!!!! FYI: I have no idea if the above is true, just trolling. FYI2: Here in Georgia making paper is a huge agri-business. Huge amounts of land dedicated to growing pines as a crop to make paper. Quit making paper and they will quit growing those trees and get that land making money another way. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gabriel Stein wrote:
Nice. My special motivation to "don´t use paper" is protect the nature. Millions and millions of papers are printed with all technology which we have.
Last time I checked, trees are a renewable resource. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jun 6, 2008 at 4:31 PM, Boyd Lynn Gerber <gerberb@zenez.com> wrote:
On Fri, 6 Jun 2008, Joe Morris wrote:
On 06/06/2008 10:42 PM, Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Instead of typing it in, how about fdisk -l > hard_disks, which will create a file called hard_disks in the current directory.
Thanks that works.
Assuming you have LBA drives. (8GB or larger) Keep in mind the fdisk can be confusing because it still has the legacy Cylinder / Head / Sectors concept inherent in it. I use often use fdisk but for this, I would use sfdisk instead. So for each drive I would also get a "sfdisk -d" dump. In addition to being more precise in its output, if your replacement drives are the same size (or bigger) you can also recreate them without all that typing. -d Dump the partitions of a device in a format useful as input to sfdisk. For example, % sfdisk -d /dev/hda > hda.out % sfdisk /dev/hda < hda.out # This is dangerous, don't experiment unless you can loose your drive's data If you look at the -d output you will see nice simple LBA sectors and sizes in sectors. None of the legacy Cylinder stuff that is basically meaningless in Linux today. So create all of you hdX.out files and email them to yourself with the above instructions. Then if need be, you replace the drive, execute the second of the above 2 commands and you're set. Even if your creating by hand, I think I would rather have the sfdisk -d output instead of fdisk -l output to work from. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-06-06 at 18:01 -0400, Greg Freemyer wrote:
Assuming you have LBA drives. (8GB or larger) Keep in mind the fdisk can be confusing because it still has the legacy Cylinder / Head / Sectors concept inherent in it. I use often use fdisk but for this, I would use sfdisk instead.
Try the -u option to fdisk. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFISdUntTMYHG2NR9URAnUNAKCN92h7ItiL0MZWhD3L4mEZvCtp/wCggwQB g2nfFE/pNQToF1jfBdWI6BU= =kVYO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Don't be lazy. If you rely on keeping it in a file, and your partition table gets hosed, what makes you think that you will be able to read the file? You *MUST* put it on paper. Any other form is not guaranteed to be recoverable. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
OK! fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks Workaround... :P Cheers. On Fri, Jun 6, 2008 at 4:01 PM, Evans Garde <evans.garde@gmail.com> wrote:
Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Don't be lazy.
If you rely on keeping it in a file, and your partition table gets hosed, what makes you think that you will be able to read the file?
You *MUST* put it on paper.
Any other form is not guaranteed to be recoverable. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- /\ Gabriel Stein gabrielstein@gmail.com MSN: gabrielstein@hotmail.com Administrador de Redes - Network Administrator Linux User #223750 +55 51 9357 3886 Porto Alegre - RS - Brasil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gabriel Stein wrote:
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Or just: fdisk -l | mail -s "Hard Disks" my_email@my-domain.com Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sloan wrote:
Gabriel Stein wrote:
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Or just:
fdisk -l | mail -s "Hard Disks" my_email@my-domain.com
A lot of good that will do when you can't access your email. fdisk -l | lp (or whatever your favorite printing command is)
Joe
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jun 6, 2008 at 12:56 PM, Evans Garde <evans.garde@gmail.com> wrote:
Sloan wrote:
Gabriel Stein wrote:
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Or just:
fdisk -l | mail -s "Hard Disks" my_email@my-domain.com
A lot of good that will do when you can't access your email.
Evans, You have a gmail account. Its perfect for this type of stuff. You will lose the paper. but any borrowed machine will give you access to gmail. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 6 Jun 2008 13:13:18 -0700, "John Andersen" <jsamyth@gmail.com> wrote:
On Fri, Jun 6, 2008 at 12:56 PM, Evans Garde <evans.garde@gmail.com> wrote:
Sloan wrote:
Gabriel Stein wrote:
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Or just:
fdisk -l | mail -s "Hard Disks" my_email@my-domain.com
A lot of good that will do when you can't access your email.
Evans, You have a gmail account. Its perfect for this type of stuff. You will lose the paper. but any borrowed machine will give you access to gmail.
Everyone has a binder with documentation for each machine they build right? :) Put the paper in there. Email it too though in case your dog eats the binder. :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Andersen wrote:
On Fri, Jun 6, 2008 at 12:56 PM, Evans Garde <evans.garde@gmail.com> wrote:
Sloan wrote:
Gabriel Stein wrote:
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Or just:
fdisk -l | mail -s "Hard Disks" my_email@my-domain.com A lot of good that will do when you can't access your email.
Evans, You have a gmail account. Its perfect for this type of stuff. You will lose the paper. but any borrowed machine will give you access to gmail.
*IF* you can borrow a machine. That's not always possible. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gabriel Stein wrote:
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Workaround... :P
Nooooooooo. fdisk -l | lpr (or whatever your favorite printing command is)
Cheers.
On Fri, Jun 6, 2008 at 4:01 PM, Evans Garde <evans.garde@gmail.com> wrote:
Boyd Lynn Gerber wrote:
Hello,
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
Don't be lazy.
If you rely on keeping it in a file, and your partition table gets hosed, what makes you think that you will be able to read the file?
You *MUST* put it on paper.
Any other form is not guaranteed to be recoverable. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-06-06 at 16:05 -0300, Gabriel Stein wrote:
Don't be lazy.
If you rely on keeping it in a file, and your partition table gets hosed, what makes you think that you will be able to read the file?
You *MUST* put it on paper.
Any other form is not guaranteed to be recoverable.
OK!
fdisk -l > hard_disks && mail my_email@my-domain.com -s "Hard Disks" < hard_disks
Workaround... :P
Nay, how will you recover that email when your computer is down with the partition table hosed? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFISZiAtTMYHG2NR9URAuMgAJ9SvTYsXODqGjNrzzUQmMj3CWOR/wCfdVeX qXNcjWsQcDiu+ZeJureOC60= =BFaF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Evans Garde wrote:
Don't be lazy.
You *MUST* put it on paper.
Any other form is not guaranteed to be recoverable.
of course, but any file can be printed jdd -- Jean-Daniel Dodin Président du CULTe www.culte.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/06/06 08:42 (GMT-0600) Boyd Lynn Gerber apparently typed:
I know that on the list someone pointed out how to get all the partition information for the drives. I have 12 disks and I would like to do something other than fdisk and manually typing in the information. What was the commands to get and save all the disk information in case of trouble. My google searches are not working to find the article.
I use DFSee, which is shareware useable on all Win, DOS, OS/2 & Linux systems. It offers a number of different reports, example of which: http://fm.no-ip.com/tmp/dfsee/gx150L02.txt It can also be used to archive boot sector and partition data as files, besides cloning, backing up & more. -- "Where were you when I laid the earth's foudation?" Matthew 7:12 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (12)
-
Boyd Lynn Gerber
-
Carlos E. R.
-
Evans Garde
-
Evens Garde
-
Felix Miata
-
Gabriel Stein
-
Greg Freemyer
-
jdd sur free
-
Jeremy Leonard
-
Joe Morris
-
John Andersen
-
Sloan