Re: Emergency: Is there a way to fix a partition table
On Mon, 27 Sep 2004 02:56:08 -0400, Sonny Rao [EMAIL PROTECTED] wrote: On Mon, Sep 27, 2004 at 01:35:55AM -0400, Dark Shadow wrote: I don't have a backup of the partition table and was wondering if there was a way to auto scan and have it come up with one. It had 2 partitions both reiserfs v3 and fully functioning Linux installs I have made a dd image of the entire drive to work with This is very important that I get it fixed since even though I have a day old backup I got a couple files I really don't want to lose (9gb of tv capturecard captures)and I need the system fully functioning in a day http://packages.debian.org/unstable/admin/gpart This program has worked for me in the past. -- Sonny Rao Well using gpart to scan comes up with it guess as all unused I tried having it scan the backup that lilo makes but it was a really old version as in the file was dated 2002-04-18 which since I started setting up that lfs install 2002-04-17 would of been created on first install of lilo and has not been updated over time
Re: I/O Errors
Hello. Would you please send us the #pvscan, #pvdisplay, #vgdislpay, #lvdisplay and #lvs --version outputs. Thanks, Lena. f00bar wrote: Hi Alex, Thanks for your assistance. When I mount the partition, (actually a logical volume) the following is written to syslog. Sep 27 19:17:32 yin-yang ef_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang z_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang z_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang j_hash_table: 16384 buckets Sep 27 19:17:32 yin-yang loading reiser4 bitmap..done (148 jiffies) Sep 27 19:17:32 yin-yang d_cursor_hash_table: 256 buckets I perform an ls the following is written to the console (I assume stderr) but nothing is written to syslog. ls: reading directory /var/tmp/portage: Input/output error total 0 The following is the output from fsck: yin-yang log # fsck.reiser4 /dev/vgsdc1/reiser4 *** This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *** Fscking the /dev/vgsdc1/reiser4 block device. Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Continue? (Yes/No): yes * fsck.reiser4 started at Mon Sep 27 19:23:14 2004 Reiser4 journal (journal40) on /dev/vgsdc1/reiser4: 0 transactions replayed of the total 0 blocks. Reiser4 fs was detected on /dev/vgsdc1/reiser4. Master super block (16): magic: ReIsEr4 blksize:4096 format: 0x0 (format40) uuid: 3581757c-9576-4ed6-ba21-59863d2950b1 label: none Format super block (17): plugin: format40 description:Disk-format for reiser4, ver. 1.0.2-pre1 magic: ReIsEr40FoRmAt flushes:0 mkfs id:0x4e9bfc27 blocks: 553984 free blocks:553937 root block: 23 tail policy:0x2 (smart) next oid: 0x1 file count: 0 tree height:2 key policy: LARGE CHECKING STORAGE TREE Read nodes 2 Nodes left in the tree 2 Leaves of them 1, Twigs of them 1 Time interval: Mon Sep 27 19:23:14 2004 - Mon Sep 27 19:23:14 2004 CHECKING EXTENT REGIONS. Read twigs 1 Time interval: Mon Sep 27 19:23:14 2004 - Mon Sep 27 19:23:14 2004 CHECKING SEMANTIC TREE Found 1 objects. Time interval: Mon Sep 27 19:23:14 2004 - Mon Sep 27 19:23:14 2004 * fsck.reiser4 finished at Mon Sep 27 19:23:14 2004 Closing fs...done FS is consistent. Regards, John Baxter
Re: Emergency: Is there a way to fix a partition table
On Tue, Sep 28, 2004 at 12:28:52AM -0600, Dark Shadow wrote: On Mon, 27 Sep 2004 02:56:08 -0400, Sonny Rao [EMAIL PROTECTED] wrote: On Mon, Sep 27, 2004 at 01:35:55AM -0400, Dark Shadow wrote: I don't have a backup of the partition table and was wondering if there was a way to auto scan and have it come up with one. It had 2 partitions both reiserfs v3 and fully functioning Linux installs I have made a dd image of the entire drive to work with This is very important that I get it fixed since even though I have a day old backup I got a couple files I really don't want to lose (9gb of tv capturecard captures)and I need the system fully functioning in a day http://packages.debian.org/unstable/admin/gpart This program has worked for me in the past. -- Sonny Rao Well using gpart to scan comes up with it guess as all unused I tried having it scan the backup that lilo makes but it was a really old version as in the file was dated 2002-04-18 which since I started setting up that lfs install 2002-04-17 would of been created on first install of lilo and has not been updated over time That's interesting, it seemed to work almost too well for me last time I tried it, in that it found other filesystems (i.e. in a file, loopback, vmware, etc) that weren't occuping a real dos partition. So, that seems to indicate gpart doesn't know the proper signature for your filesystems. Another, rather brute force attempt would be to guess the sizes and just try to mount up the filesystems read-only. Basically, if you get the start point of the partition right, it should mount up at least. Then you can go back and find the end :) Sonny
New! Vìagra soft tabs.
Hello! We would like to offer V_I_A_G_R_A soft tabs, These pills are just like regular Vìagra but they are specially formulated to be soft and dissolvable under the tongue. The pill is absorbed at the mouth and enters the bloodstream directly instead of going through the stomach. This results in a faster more powerful effect which lasts as long as the normal. Soft Tabs also have less sidebacks (you can drive or mix alcohol drinks with them). You can get it at: http://ca-t.com/st/?coupon No thanks: http://ca-t.com/rm.html
Re: Emergency: Is there a way to fix a partition table
Dark Shadow wrote: I don't have a backup of the partition table and was wondering if there was a way to auto scan and have it come up with one. It had 2 partitions both reiserfs v3 and fully functioning Linux installs I have made a dd image of the entire drive to work with This is very important that I get it fixed since even though I have a day old backup I got a couple files I really don't want to lose (9gb of tv capturecard captures)and I need the system fully functioning in a day current output of table from fdisk Command (m for help): p Disk /dev/hda: 40.0 GB, 40020664320 bytes 240 heads, 63 sectors/track, 5169 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/hda1 ? 21975 164058 10741527390 Empty Partition 1 does not end on cylinder boundary. /dev/hda2 ? 1685749274 943175203 be Solaris boot Partition 2 does not end on cylinder boundary. /dev/hda3 ? 201952 44474 9569501440 Empty Partition 3 does not end on cylinder boundary. /dev/hda4 ? 1 1 0 4f QNX4.x 3rd part Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order About a year ago I trashed my partition table. I used a program called testdisk that searched the disk and reconstructed a new one for me. Check out the following link. http://www.cgsecurity.org/index.html?testdisk.html
Re: SUSE 9.1 with ReiserFS: / won't fsck, but is otherwise fine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Worley wrote: I find the root partition an invaluable part of the system. So, I'm not going to destroy it on purpose. I'm not quite sure how to boot without a root partition ;) you did backup at least /etc , didn't you? if so, then a quick reinstall of your distro (and thus overwriting / ) should be not that painful. I'm really looking for a non-destructive way to test/repair whatever has happened. well, there's always http://www.namesys.com/support.html ;) Christian. - -- BOFH excuse #71: The file system is full of it -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBWgQDC/PVm5+NVoYRApvLAKCXAWCz3PrDzLehnrTBEUeIGtwFWACgkIdh wr4EZlLE0y76Srjny9Bt8Qw= =i5O+ -END PGP SIGNATURE-