FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 08-14-2010, 05:35 PM
Asif Iqbal
 
Default not seeing the second disk

Hi

I am running Ubuntu 10.04.1 LTS generic 64 bit on sun fire x4100. I do
not see the second disk. Looks like it might have
broken?!

dm says this

[ 31.785274] device-mapper: table: 252:0: multipath: error getting device
[ 31.869735] device-mapper: ioctl: error adding target to table
[ 40.751675] device-mapper: table: 252:0: multipath: error getting device
[ 40.845887] device-mapper: ioctl: error adding target to table
[ 41.400427] device-mapper: table: 252:0: multipath: error getting device
[ 41.535076] device-mapper: ioctl: error adding target to table


fdisk does not see it either

$ fdisk -l

Disk /dev/sdb: 73.0 GB, 72999763968 bytes
255 heads, 63 sectors/track, 8875 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001d510

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 8508 68340478+ 83 Linux
/dev/sdb2 8509 8875 2947927+ 5 Extended
/dev/sdb5 8509 8875 2947896 82 Linux swap / Solaris


diskstats only showing zeros for sda

8 16 sdb 89933 2366 2289639 458150 4216664 19869512 193144976
923094710 0 19996710 924689040
8 17 sdb1 89779 2105 2286343 457060 4216564 19867923 193131464
923090560 0 19995320 924683810
8 18 sdb2 4 0 8 90 0 0 0 0 0 90 90
8 21 sdb5 100 245 2760 360 100 1589 13512 4150 0 4150 4500
8 0 sda 0 0 0 0 0 0 0 0 0 0 0


--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-15-2010, 03:16 PM
Robert Freeman-Day
 
Default not seeing the second disk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 14 Aug 2010, Asif Iqbal wrote:

> Date: Sat, 14 Aug 2010 13:35:47 -0400
> From: Asif Iqbal <vadud3@gmail.com>
> To: ubuntu-server@lists.ubuntu.com
> Subject: not seeing the second disk
>
> Hi
>
> I am running Ubuntu 10.04.1 LTS generic 64 bit on sun fire x4100. I do
> not see the second disk. Looks like it might have
> broken?!
>
> dm says this
>
> [ 31.785274] device-mapper: table: 252:0: multipath: error getting device
> [ 31.869735] device-mapper: ioctl: error adding target to table
> [ 40.751675] device-mapper: table: 252:0: multipath: error getting device
> [ 40.845887] device-mapper: ioctl: error adding target to table
> [ 41.400427] device-mapper: table: 252:0: multipath: error getting device
> [ 41.535076] device-mapper: ioctl: error adding target to table
>
>
> fdisk does not see it either
>
> $ fdisk -l
>
> Disk /dev/sdb: 73.0 GB, 72999763968 bytes
> 255 heads, 63 sectors/track, 8875 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x0001d510
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 8508 68340478+ 83 Linux
> /dev/sdb2 8509 8875 2947927+ 5 Extended
> /dev/sdb5 8509 8875 2947896 82 Linux swap / Solaris
>
>
> diskstats only showing zeros for sda
>
> 8 16 sdb 89933 2366 2289639 458150 4216664 19869512 193144976
> 923094710 0 19996710 924689040
> 8 17 sdb1 89779 2105 2286343 457060 4216564 19867923 193131464
> 923090560 0 19995320 924683810
> 8 18 sdb2 4 0 8 90 0 0 0 0 0 90 90
> 8 21 sdb5 100 245 2760 360 100 1589 13512 4150 0 4150 4500
> 8 0 sda 0 0 0 0 0 0 0 0 0 0 0
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?

Asif,

Love the signature!

I would say it is likely it is dead, but something to confirm would be to
look at the output of "dmesg". There is also a logfile with similar data
called "/var/log/dmesg". Otherwise, you could see if it is OS related by
trying out a live CD...see if that OS can work with the drive.>

- ---Robert Freeman-Day
- ---------------
I would really like you to be on my side,
but the side you show me isn't what I had in mind.

- -Judybats
GPG Public Key:
http:keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xBA9DF9ED3E4C7D36

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxoBMcACgkQup357T5MfTanAwCdGoG9B0q1Id r5q0frvrlsIL8F
mDcAoJyV0PTV15tBftbDNofxnQZDPyPN
=5WTI
-----END PGP SIGNATURE-----

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-15-2010, 03:33 PM
Asif Iqbal
 
Default not seeing the second disk

On Sun, Aug 15, 2010 at 11:16 AM, Robert Freeman-Day <presgas@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, 14 Aug 2010, Asif Iqbal wrote:
>
>> Date: Sat, 14 Aug 2010 13:35:47 -0400
>> From: Asif Iqbal <vadud3@gmail.com>
>> To: ubuntu-server@lists.ubuntu.com
>> Subject: not seeing the second disk
>>
>> Hi
>>
>> I am running Ubuntu 10.04.1 LTS generic 64 bit on sun fire x4100. I do
>> not see the second disk. Looks like it might have
>> broken?!
>>
>> dm says this
>>
>> [ * 31.785274] device-mapper: table: 252:0: multipath: error getting
>> device
>> [ * 31.869735] device-mapper: ioctl: error adding target to table
>> [ * 40.751675] device-mapper: table: 252:0: multipath: error getting
>> device
>> [ * 40.845887] device-mapper: ioctl: error adding target to table
>> [ * 41.400427] device-mapper: table: 252:0: multipath: error getting
>> device
>> [ * 41.535076] device-mapper: ioctl: error adding target to table
>>
>>
>> fdisk does not see it either
>>
>> $ fdisk -l
>>
>> Disk /dev/sdb: 73.0 GB, 72999763968 bytes
>> 255 heads, 63 sectors/track, 8875 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x0001d510
>>
>> *Device Boot * * *Start * * * * End * * *Blocks * Id *System
>> /dev/sdb1 * * * * * * * 1 * * * *8508 * *68340478+ *83 *Linux
>> /dev/sdb2 * * * * * *8509 * * * *8875 * * 2947927+ * 5 *Extended
>> /dev/sdb5 * * * * * *8509 * * * *8875 * * 2947896 * 82 *Linux swap /
>> Solaris
>>
>>
>> diskstats only showing zeros for sda
>>
>> *8 * * *16 sdb 89933 2366 2289639 458150 4216664 19869512 193144976
>> 923094710 0 19996710 924689040
>> *8 * * *17 sdb1 89779 2105 2286343 457060 4216564 19867923 193131464
>> 923090560 0 19995320 924683810
>> *8 * * *18 sdb2 4 0 8 90 0 0 0 0 0 90 90
>> *8 * * *21 sdb5 100 245 2760 360 100 1589 13512 4150 0 4150 4500
>> *8 * * * 0 sda 0 0 0 0 0 0 0 0 0 0 0
>>
>>
>> --
>> Asif Iqbal
>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>
> Asif,
>
> Love the signature!
>
> I would say it is likely it is dead, but something to confirm would be to
> look at the output of "dmesg". *There is also a logfile with similar data
> called "/var/log/dmesg". *Otherwise, you could see if it is OS related by

here is the dmesg -> http://pastebin.com/K6ahyRZH

> trying out a live CD...see if that OS can work with the drive.>
>

I guess I will try that as well.

Thanks

> - ---Robert Freeman-Day
> [..]

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-15-2010, 04:07 PM
"Vince D. Kimball"
 
Default not seeing the second disk

>
> here is the dmesg -> http://pastebin.com/K6ahyRZH
>

From a quick look at the dmesg output, it looks like sda is an "AMI
Virtual Floppy" and sdb is a RAID volume.

-- Vince


--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-15-2010, 04:27 PM
Asif Iqbal
 
Default not seeing the second disk

On Sun, Aug 15, 2010 at 12:07 PM, Vince D. Kimball <vince@vkimball.com> wrote:
>
>>
>> here is the dmesg -> http://pastebin.com/K6ahyRZH
>>
>
> From a quick look at the dmesg output, it looks like sda is an "AMI
> Virtual Floppy" and sdb is a RAID volume.

Thanks for the hint.

so sda is

[ 21.415649] sd 3:0:0:0: [sda] Attached SCSI removable disk

and sdb is hardware raid with 2 72G disk in mirror.

[ 20.005601] scsi4 : ioc0: LSISAS1064 A3, FwRev=01040000h, Ports=1,
MaxQ=511, IRQ=28
[ 20.122782] mptsas: ioc0: attaching ssp device: fw_channel 0, fw_id
4, phy 2, sas_addr 0x500000e011e208b2
[ 20.238755] scsi 4:0:0:0: Direct-Access FUJITSU
MAY2073RCSUN72G 0401 PQ: 0 ANSI: 4
[ 20.338430] scsi 4:0:0:0: Attached scsi generic sg3 type 0
[ 20.406320] mptsas: ioc0: attaching ssp device: fw_channel 0, fw_id
3, phy 3, sas_addr 0x500000e011e24052
[ 20.522191] scsi 4:0:1:0: Direct-Access FUJITSU
MAY2073RCSUN72G 0401 PQ: 0 ANSI: 4
[ 20.621817] scsi 4:0:1:0: Attached scsi generic sg4 type 0
[ 20.689648] mptsas: ioc0: attaching raid volume, channel 1, id 2
[ 20.762611] scsi 4:1:2:0: Direct-Access LSILOGIC Logical Volume
3000 PQ: 0 ANSI: 2
[ 20.868405] sd 4:1:2:0: Attached scsi generic sg5 type 0
[ 20.868808] sd 4:1:2:0: [sdb] 142577664 512-byte logical blocks:
(72.9 GB/67.9 GiB)
[ 20.869084] sd 4:1:2:0: [sdb] Write Protect is off
[ 20.869086] sd 4:1:2:0: [sdb] Mode Sense: 03 00 00 08
[ 20.869569] sd 4:1:2:0: [sdb] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[ 20.870826] sdb: sdb1 sdb2 < sdb5 >
[ 21.234684] sd 4:1:2:0: [sdb] Attached SCSI disk

so I guess I *do* have both disks available.

anyone know of a tool that can talk to the hardware raid controller
LSISAS1064 to query the disk status ?


>
> *-- Vince
>
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-15-2010, 04:38 PM
Asif Iqbal
 
Default not seeing the second disk

On Sun, Aug 15, 2010 at 12:27 PM, Asif Iqbal <vadud3@gmail.com> wrote:
> On Sun, Aug 15, 2010 at 12:07 PM, Vince D. Kimball <vince@vkimball.com> wrote:
>>
>>>
>>> here is the dmesg -> http://pastebin.com/K6ahyRZH
>>>
>>
>> From a quick look at the dmesg output, it looks like sda is an "AMI
>> Virtual Floppy" and sdb is a RAID volume.
>
> Thanks for the hint.
>
> so sda is
>
> [ * 21.415649] sd 3:0:0:0: [sda] Attached SCSI removable disk
>
> and sdb is hardware raid with 2 72G disk in mirror.
>
> [ * 20.005601] scsi4 : ioc0: LSISAS1064 A3, FwRev=01040000h, Ports=1,
> MaxQ=511, IRQ=28
> [ * 20.122782] mptsas: ioc0: attaching ssp device: fw_channel 0, fw_id
> 4, phy 2, sas_addr 0x500000e011e208b2
> [ * 20.238755] scsi 4:0:0:0: Direct-Access * * FUJITSU
> MAY2073RCSUN72G *0401 PQ: 0 ANSI: 4
> [ * 20.338430] scsi 4:0:0:0: Attached scsi generic sg3 type 0
> [ * 20.406320] mptsas: ioc0: attaching ssp device: fw_channel 0, fw_id
> 3, phy 3, sas_addr 0x500000e011e24052
> [ * 20.522191] scsi 4:0:1:0: Direct-Access * * FUJITSU
> MAY2073RCSUN72G *0401 PQ: 0 ANSI: 4
> [ * 20.621817] scsi 4:0:1:0: Attached scsi generic sg4 type 0
> [ * 20.689648] mptsas: ioc0: attaching raid volume, channel 1, id 2
> [ * 20.762611] scsi 4:1:2:0: Direct-Access * * LSILOGIC Logical Volume
> *3000 PQ: 0 ANSI: 2
> [ * 20.868405] sd 4:1:2:0: Attached scsi generic sg5 type 0
> [ * 20.868808] sd 4:1:2:0: [sdb] 142577664 512-byte logical blocks:
> (72.9 GB/67.9 GiB)
> [ * 20.869084] sd 4:1:2:0: [sdb] Write Protect is off
> [ * 20.869086] sd 4:1:2:0: [sdb] Mode Sense: 03 00 00 08
> [ * 20.869569] sd 4:1:2:0: [sdb] Write cache: disabled, read cache:
> enabled, doesn't support DPO or FUA
> [ * 20.870826] *sdb: sdb1 sdb2 < sdb5 >
> [ * 21.234684] sd 4:1:2:0: [sdb] Attached SCSI disk
>
> so I guess I *do* have both disks available.
>
> anyone know of a tool that can talk to the hardware raid controller
> LSISAS1064 to query the disk status ?

found it!

$ sudo mpt-status -i 2
ioc0 vol_id 2 type IM, 2 phy, 67 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 4 FUJITSU MAY2073RCSUN72G 0401, 68 GB, state
ONLINE, flags NONE
ioc0 phy 0 scsi_id 3 FUJITSU MAY2073RCSUN72G 0401, 68 GB, state
ONLINE, flags NONE

thanks for all of your help. looks like both disks behind the controller are ok.

thanks again


>
>
>>
>> *-- Vince
>>
>>
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 09:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org