Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* OT: Partition table lost
@ 2004-11-27  2:09 achapkis
  2004-11-27  2:45 ` adi
  0 siblings, 1 reply; 8+ messages in thread
From: achapkis @ 2004-11-27  2:09 UTC (permalink / raw)


  Hello everyone,

  I apologize for the off-topic, but getting desperate and don't know where to turn. Because of my PWS500 became
unstable as a server, I finally got an Athlon64 to replace it. Everything is OK so far, except an external array (SUN
A1000). Somehow the partition table is not seen on a new machine, but it was there on the old one. Same thing happened
to the internal SCSI disk drive: as I tried to put it inside the new box, I didn't see any labels on it either. However
being back in PWS500 is all right again. With an A1000 it must be attached to a new server, so I have to figure out how
to get the partition (the size of a whole disk) and, most importantly, the data on ot back. Tried to put a new 
partition label on it (using fdisk), but can't fsck and mount it. 

  I really apreciate any idea that will get me back on track. Thank you!


                                      Arc C.
                                      achapkis at dls.net



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
  2004-11-27  2:09 achapkis
@ 2004-11-27  2:45 ` adi
  0 siblings, 0 replies; 8+ messages in thread
From: adi @ 2004-11-27  2:45 UTC (permalink / raw)


Hello Arkadiy

Can you post the dmesg output of your AMD64 box; the part which shows
the loading of of the scsi drivers and disk detection and the mounting
errors aswell, is the most interesting. Do you have BSD-Disklabels on
that disks (I assume you have), and if yes, does the kernel on the AMD
support that? (BTW: Must this be compiled in or is initrd also ok?)

Regards, Adrian.

Arkadiy Chapkis - Arc wrote:
>   Hello everyone,
> 
>   I apologize for the off-topic, but getting desperate and don't know where to turn. Because of my PWS500 became
> unstable as a server, I finally got an Athlon64 to replace it. Everything is OK so far, except an external array (SUN
> A1000). Somehow the partition table is not seen on a new machine, but it was there on the old one. Same thing happened
> to the internal SCSI disk drive: as I tried to put it inside the new box, I didn't see any labels on it either. However
> being back in PWS500 is all right again. With an A1000 it must be attached to a new server, so I have to figure out how
> to get the partition (the size of a whole disk) and, most importantly, the data on ot back. Tried to put a new 
> partition label on it (using fdisk), but can't fsck and mount it. 
> 
>   I really apreciate any idea that will get me back on track. Thank you!
> 
> 
>                                       Arc C.
>                                       achapkis at dls.net
> 
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
@ 2004-11-27  4:47 achapkis
  2004-11-27  5:51 ` michal
  0 siblings, 1 reply; 8+ messages in thread
From: achapkis @ 2004-11-27  4:47 UTC (permalink / raw)


  Below is partial output of dmesg related to scsi. The array did not have BSD labels, but the Maxtor did. Right now I
only have A1000 connected and here's what fdisk shows:
# fdisk -l
Disk /dev/sdb: 198.7 GB, 198790316032 bytes
255 heads, 63 sectors/track, 24168 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

# dmesg
scsi1 : sata_via
  Vendor: ATA       Model: Maxtor 6Y080M0    Rev: YAR5
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 160086528 512-byte hdwr sectors (81964 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm at uk.sistina.com

kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.

ERROR: SCSI host `isp1020' has no error handling
ERROR: This is not a safe way to run your SCSI host
ERROR: The error handling must be added to this driver

Call Trace:<ffffffffa000218d>{:scsi_mod:scsi_host_alloc+167} <ffffffffa00024ab>{:scsi_mod:scsi_register+12}
       <ffffffffa009be65>{:qlogicisp:isp1020_detect+85} <ffffffffa00a805a>{:qlogicisp:init_this_scsi_driver+90}
       <ffffffff80159d4c>{sys_init_module+601} <ffffffff801107a2>{system_call+126}

qlogicisp : new isp1020 revision ID (2)
scsi2 : QLogic ISP1020 SCSI on PCI bus 00 device 48 irq 169 MEM base 0xffffff0000020000
  Vendor: Symbios   Model: StorEDGE A1000    Rev: 0205
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdb: 388262336 512-byte hdwr sectors (198790 MB)
SCSI device sdb: drive cache: write back
 sdb: sdb1
Attached scsi disk sdb at scsi2, channel 0, id 5, lun 0


>
>Hello Arkadiy
>
>Can you post the dmesg output of your AMD64 box; the part which shows
>the loading of of the scsi drivers and disk detection and the mounting
>errors aswell, is the most interesting. Do you have BSD-Disklabels on
>that disks (I assume you have), and if yes, does the kernel on the AMD
>support that? (BTW: Must this be compiled in or is initrd also ok?)
>
>Regards, Adrian.
>


                                      Arc C.
                                      achapkis at dls.net



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
  2004-11-27  4:47 achapkis
@ 2004-11-27  5:51 ` michal
  0 siblings, 0 replies; 8+ messages in thread
From: michal @ 2004-11-27  5:51 UTC (permalink / raw)


On Fri, Nov 26, 2004 at 10:47:44PM -0600, Arkadiy Chapkis - Arc wrote:
>   Below is partial output of dmesg related to scsi.
....
> SCSI device sda: drive cache: write back
>  sda: sda1 sda2
         ^^^^^^
......
> SCSI device sdb: drive cache: write back
>  sdb: sdb1
         ^^

So, as far as kernel is concerned, you have your partition tables
even if you cannot find them with fdisk (where most likely you are
trying to list wrong types).  Try typing 'cat /proc/partitions'
and see what this will show.

   Michal



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
@ 2004-11-27 14:45 achapkis
  2004-11-27 17:02 ` michal
  2004-11-27 17:28 ` davis
  0 siblings, 2 replies; 8+ messages in thread
From: achapkis @ 2004-11-27 14:45 UTC (permalink / raw)


  Yes, looks like kernel sees it:
# cat /proc/partitions
...
   8    16  194131168 sdb
   8    17  194129428 sdb1

  But none of the fs utilities do (e2fsck, mount, fdisk). There is ext3 filesystem on this partition, how do I get it
back? Is there a specific module(s) I should be looking to tell kernel to make the partition available to the rest of
the system?

>>   Below is partial output of dmesg related to scsi.
>....
>> SCSI device sda: drive cache: write back
>>  sda: sda1 sda2
>         ^^^^^^
>......
>> SCSI device sdb: drive cache: write back
>>  sdb: sdb1
>         ^^
>
>So, as far as kernel is concerned, you have your partition tables
>even if you cannot find them with fdisk (where most likely you are
>trying to list wrong types).  Try typing 'cat /proc/partitions'
>and see what this will show.
>
>   Michal


                                      Arc C.
                                      achapkis at dls.net



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
@ 2004-11-27 15:23 achapkis
  0 siblings, 0 replies; 8+ messages in thread
From: achapkis @ 2004-11-27 15:23 UTC (permalink / raw)


  Yes, it looks like they are correct in /dev. As far as I know FC3 uses udev, which sould automagically build the
device tree for any devices that you have. And remove entries if the device(s) is (are) removed.

# ls -l /dev/sdb*
brw-rw----  1 root disk 8, 16 Nov 26 13:11 /dev/sdb
brw-rw----  1 root disk 8, 17 Nov 26 14:10 /dev/sdb1


>
>I know this is a long shot, along the lines of "is it plugged in", but 
>make sure that the device special files (/dev/sdb, /dev/sdb1 etc) exist 
>and have the correct major/minor device numbers, permissions etc.
>
>I had similar symptoms once on a system with an unreasonable number of 
>SCSI disks. Those past the point of reason had much the symptoms you 
>describe until I got /dev straightend out.
>
>sda and sdb should be right already for you, though.


                                      Arc C.
                                      achapkis at dls.net



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
  2004-11-27 14:45 OT: Partition table lost achapkis
@ 2004-11-27 17:02 ` michal
  2004-11-27 17:28 ` davis
  1 sibling, 0 replies; 8+ messages in thread
From: michal @ 2004-11-27 17:02 UTC (permalink / raw)


On Sat, Nov 27, 2004 at 08:45:58AM -0600, Arkadiy Chapkis - Arc wrote:
>   Yes, looks like kernel sees it:
> # cat /proc/partitions
> ...
>    8    16  194131168 sdb
>    8    17  194129428 sdb1
> 
>   But none of the fs utilities do (e2fsck, mount, fdisk).

'mount' is not looking at any partition tables.  It talks to a kernel
and from what you are saying your kernel knows about these partitions.
The same story should be with 'e2fsck'.  The only thing above which
has to know about partition tables is 'fdisk' because it manipulates
these.

We still cannot squeeze out of you an information what type these
partition tables are supposed to be.  Anyway, you should also have
'parted' and that tools recognizes many different kinds of partitioning.

What all of this has to do with AXP?

   Michal



^ permalink raw reply	[flat|nested] 8+ messages in thread

* OT: Partition table lost
  2004-11-27 14:45 OT: Partition table lost achapkis
  2004-11-27 17:02 ` michal
@ 2004-11-27 17:28 ` davis
  1 sibling, 0 replies; 8+ messages in thread
From: davis @ 2004-11-27 17:28 UTC (permalink / raw)


I know this is a long shot, along the lines of "is it plugged in", but 
make sure that the device special files (/dev/sdb, /dev/sdb1 etc) exist 
and have the correct major/minor device numbers, permissions etc.

I had similar symptoms once on a system with an unreasonable number of 
SCSI disks. Those past the point of reason had much the symptoms you 
describe until I got /dev straightend out.

sda and sdb should be right already for you, though.

Arkadiy Chapkis - Arc wrote:

>  Yes, looks like kernel sees it:
># cat /proc/partitions
>...
>   8    16  194131168 sdb
>   8    17  194129428 sdb1
>
>  But none of the fs utilities do (e2fsck, mount, fdisk). There is ext3 filesystem on this partition, how do I get it
>back? Is there a specific module(s) I should be looking to tell kernel to make the partition available to the rest of
>the system?
>
>  
>
>>>  Below is partial output of dmesg related to scsi.
>>>      
>>>
>>....
>>    
>>
>>>SCSI device sda: drive cache: write back
>>> sda: sda1 sda2
>>>      
>>>
>>        ^^^^^^
>>......
>>    
>>
>>>SCSI device sdb: drive cache: write back
>>> sdb: sdb1
>>>      
>>>
>>        ^^
>>
>>So, as far as kernel is concerned, you have your partition tables
>>even if you cannot find them with fdisk (where most likely you are
>>trying to list wrong types).  Try typing 'cat /proc/partitions'
>>and see what this will show.
>>
>>  Michal
>>    
>>
>
>
>                                      Arc C.
>                                      achapkis at dls.net
>
>_______________________________________________
>axp-list mailing list
>axp-list at redhat.com
>https://www.redhat.com/mailman/listinfo/axp-list
>
>
>  
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-11-27 17:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-27 14:45 OT: Partition table lost achapkis
2004-11-27 17:02 ` michal
2004-11-27 17:28 ` davis
  -- strict thread matches above, loose matches on Subject: below --
2004-11-27 15:23 achapkis
2004-11-27  4:47 achapkis
2004-11-27  5:51 ` michal
2004-11-27  2:09 achapkis
2004-11-27  2:45 ` adi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox