GithubHelp home page GithubHelp logo

arcconf need an update about hwraid HOT 27 OPEN

elverde avatar elverde commented on August 18, 2024
arcconf need an update

from hwraid.

Comments (27)

eLvErDe avatar eLvErDe commented on August 18, 2024 1

Hello,

I uploaded a couple of versions to the repository. Could you show me what happens when using version 2.xx ?

Regards, Adam.

[email protected]:/srv/projects/hwraid/files$ LANG=C apt-cache policy arcconf
arcconf:
  Installed: 1:2.02.22404-1
  Candidate: 1:2.02.22404-1
  Version table:
 *** 1:2.02.22404-1 500
        500 http://hwraid.le-vert.net/debian jessie/main amd64 Packages
        100 /var/lib/dpkg/status
     1:1.08.21375-1 500
        500 http://hwraid.le-vert.net/debian jessie/main amd64 Packages
     1:1.07.21229-1 500
        500 http://hwraid.le-vert.net/debian jessie/main amd64 Packages
     1:1.05.20942-1 500
        500 http://hwraid.le-vert.net/debian jessie/main amd64 Packages
     7.31.18856-1 500
        500 http://hwraid.le-vert.net/debian jessie/main amd64 Packages

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Thank you for giving back arcconf package! Version 2.02 (B22404) working fine.

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

@Nagainos Can you also install aacraid-status and send me the output (or errors :D) ?

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Yep. That it is:
root@hydra2:/home/nagainos# aacraid-status
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress

-- Disks informations
-- ID | Model | Status
c0uXd0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0uXd1 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0uXd2 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0uXd3 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd4 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.
root@hydra2:/home/nagainos#

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Ok, theres no array displayed. Can you downgrade to version 1.08 ?

Adam

On November 2, 2016 9:29:06 AM GMT+01:00, Nagainos [email protected] wrote:

Yep. That it is:
root@hydra2:/home/nagainos# aacraid-status
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress

-- Disks informations
-- ID | Model | Status
c0uXd0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0uXd1 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0uXd2 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0uXd3 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd4 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.
root@hydra2:/home/nagainos#

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#48 (comment)

Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Yes, arcconf downgraded to version 1.08:

root@hydra2:/home/nagainos# aacraid-status 
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
sh: 1: Syntax error: word unexpected (expecting ")")
c0u0 | RAID10 | 1142G | Optimal

-- Disks informations
-- ID | Model | Status
c0u0d0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0u0d0 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0u0d0 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0u0d0 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd0 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Are you really getting the shell error in the middle of the output ?!?!?

Le 2016-11-02 12:46, Nagainos a écrit :

Yes, arcconf downgraded to version 1.08:
root@hydra2:/home/nagainos# aacraid-status
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
sh: 1: Syntax error: word unexpected (expecting ")")
c0u0 | RAID10 | 1142G | Optimal

-- Disks informations
-- ID | Model | Status
c0u0d0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0u0d0 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0u0d0 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0u0d0 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd0 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2].

Links:

[1] #48 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/ABg2RbIDnAjPkPRqgVoLB35m6OlgxOm0ks5q6HgTgaJpZM4JauE7

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Yes, that's is right. And I do not getting him after update arcconf utility at version 2.02.22404(but array information is empty).

root@hydra2:/home/nagainos# aacraid-status 
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress

-- Disks informations
-- ID | Model | Status
c0uXd0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0uXd1 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0uXd2 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0uXd3 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd4 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

This behavior is saved(shell error) after update to any of version arcconf, exclude 2.02.22404(we can see him behavior at up) and 7.31.18856(this version doesn't work anytime)

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Can you add "print(cmd)" right after "def getOutput(cmd):" (respect indentation) in /usr/sbin/aacraid-status en re-run with arcconf-1.08 ?
I can hardly understand what triggered this shell message while looking at the code...

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Complete.

root@hydra2:/home/nagainos# aacraid-status 
"/usr/sbin/arcconf" GETVERSION
-- Controller informations --
-- ID | Model | Status
"/usr/sbin/arcconf" GETCONFIG 1
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
"/usr/sbin/arcconf" GETCONFIG 1
"/usr/sbin/arcconf" GETCONFIG 1 LD 0
('"%s" GETSTATUS %s', ('/usr/sbin/arcconf', 1))
sh: 1: Syntax error: word unexpected (expecting ")")
c0u0 | RAID10 | 1142G | Optimal

-- Disks informations
-- ID | Model | Status
"/usr/sbin/arcconf" GETCONFIG 1
"/usr/sbin/arcconf" GETCONFIG 1 PD
"/usr/sbin/arcconf" GETCONFIG 1 LD 0
c0u0d0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
"/usr/sbin/arcconf" GETCONFIG 1 LD 0
c0u0d0 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
"/usr/sbin/arcconf" GETCONFIG 1 LD 0
c0u0d0 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
"/usr/sbin/arcconf" GETCONFIG 1 LD 0
c0u0d0 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
"/usr/sbin/arcconf" GETCONFIG 1 LD 0
c0uXd0 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

Python version is 2.7.3

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Wow, that's insane.

Can you replace "print(cmd)" with "print(repr(cmd))" ?

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Complete

'"/usr/sbin/arcconf" GETVERSION'
-- Controller informations --
-- ID | Model | Status
'"/usr/sbin/arcconf" GETCONFIG 1'
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
'"/usr/sbin/arcconf" GETCONFIG 1'
'"/usr/sbin/arcconf" GETCONFIG 1 LD 0'
('"%s" GETSTATUS %s', ('/usr/sbin/arcconf', 1))
sh: 1: Syntax error: word unexpected (expecting ")")
c0u0 | RAID10 | 1142G | Optimal

-- Disks informations
-- ID | Model | Status
'"/usr/sbin/arcconf" GETCONFIG 1'
'"/usr/sbin/arcconf" GETCONFIG 1 PD'
'"/usr/sbin/arcconf" GETCONFIG 1 LD 0'
c0u0d0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
'"/usr/sbin/arcconf" GETCONFIG 1 LD 0'
c0u0d0 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
'"/usr/sbin/arcconf" GETCONFIG 1 LD 0'
c0u0d0 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
'"/usr/sbin/arcconf" GETCONFIG 1 LD 0'
c0u0d0 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
'"/usr/sbin/arcconf" GETCONFIG 1 LD 0'
c0uXd0 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Are you sure you did not messed up the script ?
I can't understand why you get this being printed: ('"%s" GETSTATUS %s', ('/usr/sbin/arcconf', 1))

If running Debian. can you give apt-get install --reinstall aacraid-status a try ?

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

Are you sure you did not messed up the script ?

How I can corrup that script momentarily after install? What I can do to that? I can try to make something, but I do not many action about this python script.

If running Debian. can you give apt-get install --reinstall aacraid-status a try ?

Package reinstalled and problem is persist.

-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
sh: 1: Syntax error: word unexpected (expecting ")")
c0u0 | RAID10 | 1142G | Optimal

-- Disks informations
-- ID | Model | Status
c0u0d0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0u0d0 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0u0d0 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0u0d0 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd0 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

Before reinstall package aacraid-status I'm try to install arcconf=1:2.02.22404-1 and run aacraid-status with print(repr(cmd)) and I can't see row ('"%s" GETSTATUS %s', ('/usr/sbin/arcconf', 1))

root@hydra2:/home/nagainos# aacraid-status 
'"/usr/sbin/arcconf" GETVERSION'
-- Controller informations --
-- ID | Model | Status
'"/usr/sbin/arcconf" GETCONFIG 1'
c0 | Adaptec ASR7805Q | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
'"/usr/sbin/arcconf" GETCONFIG 1'

-- Disks informations
-- ID | Model | Status
'"/usr/sbin/arcconf" GETCONFIG 1'
'"/usr/sbin/arcconf" GETCONFIG 1 PD'
c0uXd0 | SEAGATE ST3600057SS 6SLAV5PX0000N6210KTQ | Online
c0uXd1 | SEAGATE ST3600057SS 6SLATEQK0000N6271HP7 | Online
c0uXd2 | SEAGATE ST3600057SS 6SLAV5MT0000N62803DM | Online
c0uXd3 | SEAGATE ST3600057SS 6SLAV59J0000N6280XBQ | Online
c0uXd4 | SEAGATE ST3600057SS 6SLAV4Z40000N6280WM9 | Raw (Pass Through)

There is at least one disk/array in a NOT OPTIMAL state.

Use "arcconf GETCONFIG [1-9]" to get details.

It's a strange situation.
At now I get back all packages and problem is persist.

apt-get -y install --reinstall aacraid-status
apt-get -y install arcconf=1:1.08.21375-1 --reinstall --force-yes

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Can you send /usr/sbin/arcconf" GETCONFIG 1 LD 0 output with 1.08 and 2.02 ? I'll forget the sh error as I have absolutely no idea what the issue could be. Let's focus on getting the wrapper working with 2.x ;-)

from hwraid.

Nagainos avatar Nagainos commented on August 18, 2024

I send details to e-mail about how work arcconf under strace. I found some file path where mabye exist debug logs and if I create him at disk arcconf write some infos about work him. This files from my system I send to you email, but I'm not sure what any people can analyze logs without source codes of arcconf utility.

root@hydra2:/var/cache/apt/archives# arcconf | head

  | UCLI |  Adaptec by PMC uniform command line interface
  | UCLI |  Version 7.31 (B18856)
  | UCLI |  (C) Adaptec by PMC 2003-2011
  | UCLI |  All Rights Reserved

root@hydra2:/var/cache/apt/archives# arcconf GETCONFIG 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Inaccessible

----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
   No logical devices configured

----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------


Command completed successfully.
root@hydra2:/home/srvadm# ./arcconf | head                                                             

  | UCLI |  Adaptec by PMC uniform command line interface
  | UCLI |  Version 1.08 (B21375)
  | UCLI |  (C) Adaptec by PMCS 2003-2015
  | UCLI |  All Rights Reserved



root@hydra2:/home/srvadm# ./arcconf GETCONFIG 1                                                                              
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Controller Mode                          : RAID (Expose RAW)
   Controller Cache Preservation            : Disabled
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec ASR7805Q
   Controller Serial Number                 : 6D0663406EE
   Controller World Wide Name               : 50000D1701138400
   Physical Slot                            : 4
   Temperature                              : 86 C/ 186 F (Normal)
   Installed memory                         : 1024 MB
   Copyback                                 : Disabled
   Background consistency check             : Enabled
   Background consistency check period      : 0
   Automatic Failover                       : Enabled
   Global task priority                     : High
   Performance Mode                         : Default/Dynamic
   Host bus type                            : PCIe
   Host bus speed                           : 8000 MHz
   Host bus link width                      : 8 bit(s)/link(s)
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 1/0/0
   MaxCache flush and fetch rate            : 0
   MaxCache Read, Write Balance Factor      : 3,1
   MaxCache Dirty Page Threshold            : 0
   NCQ status                               : Enabled
   Statistics data collection mode          : Disabled
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 7.5-0 (32106)
   Firmware                                 : 7.5-0 (32106)
   Driver                                   : 1.2-1 (50667)
   Boot Flash                               : 7.5-0 (32106)

   --------------------------------------------------------
   Controller Cache Backup Unit Information
   --------------------------------------------------------

    Overall Backup Unit Status              : Ready

         Backup Unit Type                   : AFM-700/700LP
         Non-Volatile Storage Status        : Ready                                                                [132/1839]
         Supercap Status                    : Ready

         -----------------------------------
         Supercap Information               
         -----------------------------------
         Current Temperature                : 28 deg C
         Threshold Temperature              : 51 deg C
         Life-time Temperature Recorded     
         (Min/Max)                          : 17 deg C/ 34 deg C

         Voltage(Present/Max)               : 4955 mV/ 5302 mV
         Life-time Max Voltage Recorded     : 5432 mV

         Current Drawn(Present/Max)         : -12 mA/ 560 mA
         Health                             : 100 percent
         Charge Level                       : 100 percent
         Estimated Life-time                : 5 Years, 0 Month
         Serial Number                      : 6A066D3F7D3

----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : Hydra2
   Block Size of member drives              : 512 Bytes
   RAID level                               : 10
   Unique Identifier                        : 1F0581A7
   Status of logical device                 : Optimal
   Size                                     : 1142774 MB
   Parity space                             : 1142784 MB
   Stripe-unit size                         : 512 KB
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : Enabled
   Write-cache status                       : On
   MaxCache read cache setting              : Enabled
   MaxCache read cache status               : Off
   MaxCache write cache setting             : Disabled
   MaxCache write cache status              : Off
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:0) 6SLAV5PX0000N6210KTQ
   Group 0, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:1) 6SLATEQK0000N6271HP7
   Group 1, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:4) 6SLAV5MT0000N62803DM
   Group 1, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:5) 6SLAV59J0000N6280XBQ


----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
      Device #0
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,0(0:0)
         Reported Location                  : Enclosure 0, Slot 0
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3600057SS
         Firmware                           : 000B
         Serial number                      : 6SLAV5PX0000N6210KTQ                                                  [63/1839]
         World-wide name                    : 5000C500963BD1F4
         Reserved Size                      : 956312 KB
         Used Size                          : 571392 MB
         Unused Size                        : 64 KB
         Total Size                         : 572325 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
      Device #1
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,1(1:0)
         Reported Location                  : Enclosure 0, Slot 1
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3600057SS
         Firmware                           : 000B
         Serial number                      : 6SLATEQK0000N6271HP7
         World-wide name                    : 5000C5009621EF60
         Reserved Size                      : 956312 KB
         Used Size                          : 571392 MB
         Unused Size                        : 64 KB
         Total Size                         : 572325 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
      Device #2
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,4(4:0)
         Reported Location                  : Enclosure 0, Slot 4
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3600057SS
         Firmware                           : 000B
         Serial number                      : 6SLAV5MT0000N62803DM
         World-wide name                    : 5000C500963BF804
         Reserved Size                      : 956312 KB
         Used Size                          : 571392 MB
         Unused Size                        : 64 KB
         Total Size                         : 572325 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
      Device #3
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,5(5:0)
         Reported Location                  : Enclosure 0, Slot 5
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3600057SS
         Firmware                           : 000B
         Serial number                      : 6SLAV59J0000N6280XBQ
         World-wide name                    : 5000C500963C0F58
         Reserved Size                      : 956312 KB
         Used Size                          : 571392 MB
         Unused Size                        : 64 KB
         Total Size                         : 572325 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
      Device #4
         Device is a Hard drive
         State                              : Raw (Pass Through)
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,6(6:0)
         Reported Location                  : Enclosure 0, Slot 6
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3600057SS
         Firmware                           : 000B
         Serial number                      : 6SLAV4Z40000N6280WM9
         World-wide name                    : 5000C500963C42F0
         Reserved Size                      : 0 KB
         Used Size                          : 0 MB
         Unused Size                        : 572325 MB
         Total Size                         : 572325 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
      Device #5
         Device is an Enclosure services device
         Reported Channel,Device(T:L)       : 2,0(0:0)
         Enclosure ID                       : 0
         Type                               : SES2
         Vendor                             : ADAPTEC
         Model                              : Virtual SGPIO
         Firmware                           :    1
         Status of Enclosure services device
            Speaker status                  : Not available

----------------------------------------------------------------------
MaxCache 3.0 information
----------------------------------------------------------------------
 No Maxcache 3.0 found


Command completed successfully.

from hwraid.

iotaka avatar iotaka commented on August 18, 2024

Hello Adam,

at the moment I don't have available the series 8 machine, this is the output on a old 5 series:

# aacraid-status
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec 5805 | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress

-- Disks informations
-- ID | Model | Status
c0uXd0 | Hitachi HUA722010CLA330 JPW9K0HZ21E7UL | Online
c0uXd1 | Hitachi HUA722010CLA330 JPW9K0HZ21EBBL | Online
c0uXd2 | Hitachi HUA722010CLA330 JPW9K0HZ21E0HL | Online
c0uXd3 | Hitachi HUA722010CLA330 JPW9K0HZ216PYL | Online
c0uXd4 | Hitachi HUA722010CLA330 JPW9K0HZ216D0L | Online
c0uXd5 | Hitachi HUA722010CLA330 JPW9K0HZ216NJL | Online

Version 2.02 (B22404)

# /usr/sbin/arcconf GETCONFIG 1 LD 0 
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
   Logical Device name                      : PX
   Block Size of member drives              : 512 Bytes
   RAID level                               : 10
   Unique Identifier                        : 994687AC
   Status of Logical Device                 : Optimal
   Additional details                       : Quick initialized
   Size                                     : 2860022 MB
   Parity space                             : 2860032 MB
   Stripe-unit size                         : 256 KB
   Interface Type                           : Serial ATA
   Device Type                              : HDD
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : On when protected by battery/ZMM
   Write-cache status                       : On
   maxCache read cache setting              : Enabled
   maxCache read cache status               : Off
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical Device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (953869MB, SATA, HDD, Connector:1, Device:0)       JPW9K0HZ216D0L
   Group 0, Segment 1                       : Present (953869MB, SATA, HDD, Connector:1, Device:1)       JPW9K0HZ216NJL
   Group 1, Segment 0                       : Present (953869MB, SATA, HDD, Enclosure:0, Slot:0)       JPW9K0HZ21E7UL
   Group 1, Segment 1                       : Present (953869MB, SATA, HDD, Enclosure:0, Slot:1)       JPW9K0HZ21EBBL
   Group 2, Segment 0                       : Present (953869MB, SATA, HDD, Enclosure:0, Slot:2)       JPW9K0HZ21E0HL
   Group 2, Segment 1                       : Present (953869MB, SATA, HDD, Enclosure:0, Slot:3)       JPW9K0HZ216PYL


Command completed successfully.

.

Version 1.08 (B21375)

# /usr/sbin/arcconf GETCONFIG 1 LD 0 
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : PX
   Block Size of member drives              : 512 Bytes
   RAID level                               : 10
   Unique Identifier                        : 994687AC
   Status of logical device                 : Optimal
   Additional details                       : Quick initialized
   Size                                     : 2860022 MB
   Parity space                             : 2860032 MB
   Stripe-unit size                         : 256 KB
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : On when protected by battery/ZMM
   Write-cache status                       : On
   maxCache read cache setting              : Enabled
   maxCache read cache status               : Off
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (Controller:1,Connector:1,Device:0)       JPW9K0HZ216D0L
   Group 0, Segment 1                       : Present (Controller:1,Connector:1,Device:1)       JPW9K0HZ216NJL
   Group 1, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:0)       JPW9K0HZ21E7UL
   Group 1, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:1)       JPW9K0HZ21EBBL
   Group 2, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:2)       JPW9K0HZ21E0HL
   Group 2, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:3)       JPW9K0HZ216PYL


Command completed successfully.

Thank you for the support.

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Thanks, that helped a lot. I pushed a new aacraid-status wrapper according to what I saw here. Can you give a try with different arrconf version and let me know if it's working ?
Also I'd love seeing more output on other gen controller.

Best regards, Adam.

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Hello @iotaka,

Day off today ? Don't forget to check this on monday, you're my only hope to fix aacraid-status at the moment,

Thanks, Adam.

from hwraid.

iotaka avatar iotaka commented on August 18, 2024

Hello Adam @eLvErDe ,

busy at work! Sorry for the delay. This is a whezzey not a jessie with a series 6 controller:

#  aacraid-status
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec 6805 | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress

-- Disks informations
-- ID | Model | Status
c0uXd0 | Hitachi HUA723020ALA640 MK0251YGHNTE2A | Online
c0uXd1 | Hitachi HUA723020ALA640 MK0173YFHMPPAC | Online
c0uXd2 | Hitachi HUA723020ALA640 MK0251YGHNYHAA | Online
c0uXd3 | Hitachi HUA723020ALA640 MK0251YGHNRP2A | Online

Version 2.02 (B22404)

# /usr/sbin/arcconf GETCONFIG 1 LD 0
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
   Logical Device name                      : Raid 5
   Block Size of member drives              : 512 Bytes
   RAID level                               : 5
   Unique Identifier                        : 728A9B2B
   Status of Logical Device                 : Optimal
   Additional details                       : Initialized with Build/Clear
   Size                                     : 102389 MB
   Parity space                             : 34133 MB
   Stripe-unit size                         : 256 KB
   Interface Type                           : Serial ATA
   Device Type                              : HDD
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : On when protected by battery/ZMM
   Write-cache status                       : On
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical Device segment information
   --------------------------------------------------------
   Segment 0                                : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:0)       MK0251YGHNTE2A
   Segment 1                                : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:1)       MK0173YFHMPPAC
   Segment 2                                : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:2)       MK0251YGHNYHAA
   Segment 3                                : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:3)       MK0251YGHNRP2A



Command completed successfully.

.

Version 1.08 (B21375)

# /usr/sbin/arcconf GETCONFIG 1 LD 0
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : Raid 5
   Block Size of member drives              : 512 Bytes
   RAID level                               : 5
   Unique Identifier                        : 728A9B2B
   Status of logical device                 : Optimal
   Additional details                       : Initialized with Build/Clear
   Size                                     : 102389 MB
   Parity space                             : 34133 MB
   Stripe-unit size                         : 256 KB
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : On when protected by battery/ZMM
   Write-cache status                       : On
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (Controller:1,Enclosure:0,Slot:0)       MK0251YGHNTE2A
   Segment 1                                : Present (Controller:1,Enclosure:0,Slot:1)       MK0173YFHMPPAC
   Segment 2                                : Present (Controller:1,Enclosure:0,Slot:2)       MK0251YGHNYHAA
   Segment 3                                : Present (Controller:1,Enclosure:0,Slot:3)       MK0251YGHNRP2A


Command completed successfully.

Cheers

from hwraid.

iotaka avatar iotaka commented on August 18, 2024

Hello Adam @eLvErDe

i found finally a 8 series controller :)

# aacraid-status 
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR8805 | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress

-- Disks informations
-- ID | Model | Status
c0uXd0 | ATA ST2000NM0033-9ZM Z1X51Q2Z | Online
c0uXd1 | ATA ST2000NM0033-9ZM Z1X54373 | Online
c0uXd2 | ATA ST2000NM0033-9ZM Z1X543XL | Online
c0uXd3 | ATA ST2000NM0033-9ZM Z1X544BL | Online
c0uXd4 | ATA ST2000NM0033-9ZM Z1X543A7 | Online
c0uXd5 | ATA ST2000NM0033-9ZM Z1X54EGF | Online

Version 2.02 (B22404)

# /usr/sbin/arcconf GETCONFIG 1 LD 0
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
   Logical Device name                      : OS
   Block Size of member drives              : 512 Bytes
   RAID level                               : 10
   Unique Identifier                        : 4021C42D
   Status of Logical Device                 : Optimal
   Additional details                       : Quick initialized
   Size                                     : 102389 MB
   Parity space                             : 102399 MB
   Stripe-unit size                         : 256 KB
   Interface Type                           : Serial ATA
   Device Type                              : HDD
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : On when protected by battery/ZMM
   Write-cache status                       : On
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical Device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:0)             Z1X51Q2Z
   Group 0, Segment 1                       : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:1)             Z1X54373
   Group 1, Segment 0                       : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:2)             Z1X543XL
   Group 1, Segment 1                       : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:3)             Z1X544BL
   Group 2, Segment 0                       : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:4)             Z1X543A7
   Group 2, Segment 1                       : Present (1907729MB, SATA, HDD, Enclosure:0, Slot:5)             Z1X54EGF



Command completed successfully.

.

ersion 1.08 (B21375)

# /usr/sbin/arcconf GETCONFIG 1 LD 0
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : OS
   Block Size of member drives              : 512 Bytes
   RAID level                               : 10
   Unique Identifier                        : 4021C42D
   Status of logical device                 : Optimal
   Additional details                       : Quick initialized
   Size                                     : 102389 MB
   Parity space                             : 102399 MB
   Stripe-unit size                         : 256 KB
   Read-cache setting                       : Enabled
   Read-cache status                        : On
   Write-cache setting                      : On when protected by battery/ZMM
   Write-cache status                       : On
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:0)             Z1X51Q2Z
   Group 0, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:1)             Z1X54373
   Group 1, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:2)             Z1X543XL
   Group 1, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:3)             Z1X544BL
   Group 2, Segment 0                       : Present (Controller:1,Enclosure:0,Slot:4)             Z1X543A7
   Group 2, Segment 1                       : Present (Controller:1,Enclosure:0,Slot:5)             Z1X54EGF



Command completed successfully.

Cheers

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Hello,

I just updated the aacraid-status script, thanks for the output examples. Can you give a try again ?

Adam.

from hwraid.

iotaka avatar iotaka commented on August 18, 2024

I performed an apt update, but I still see the version 0.21 used for the last message

apt-cache policy aacraid-status 
aacraid-status:
  Installed: 0.21
  Candidate: 0.21

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Hello,

Actually Im waiting for your feedback before releasing ;-)
Can you get latest version from github directly ?

Regards, Adam

from hwraid.

iotaka avatar iotaka commented on August 18, 2024

Hello Adam @eLvErDe

Using this one:
https://raw.githubusercontent.com/eLvErDe/hwraid/master/wrapper-scripts/aacraid-status

# ./aatest 
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR8805 | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
Traceback (most recent call last):
  File "./aatest", line 261, in <module>
    arrayids = returnArrayIds(output)
  File "./aatest", line 68, in returnArrayIds
    ids.append(re.sub(r'^Logical [Dd]evice number', line).strip())
TypeError: sub() takes at least 3 arguments (2 given)

Cheers

from hwraid.

eLvErDe avatar eLvErDe commented on August 18, 2024

Hello,

I just committed a fix, can you try again ?

Thanks

Le 2016-11-17 09:31, iotaka a écrit :

Hello Adam @eLvErDe [1]

Using this one:
https://raw.githubusercontent.com/eLvErDe/hwraid/master/wrapper-scripts/aacraid-status

./aatest

-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR8805 | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
Traceback (most recent call last):
File "./aatest", line 261, in
arrayids = returnArrayIds(output)
File "./aatest", line 68, in returnArrayIds
ids.append(re.sub(r'^Logical [Dd]evice number', line).strip())
TypeError: sub() takes at least 3 arguments (2 given)

Cheers

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [2], or mute the
thread [3].

Links:

[1] https://github.com/eLvErDe
[2] #48 (comment)
[3]
https://github.com/notifications/unsubscribe-auth/ABg2RfX7gsGxNsVLBEym0_dvhhGLRq_kks5q_BD0gaJpZM4JauE7

from hwraid.

iotaka avatar iotaka commented on August 18, 2024

Hello Adam @eLvErDe

# ./aatest2
-- Controller informations --
-- ID | Model | Status
c0 | Adaptec ASR8805 | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
sh: 1: Syntax error: word unexpected (expecting ")")
c0u0 | RAID10 | 3809G | Optimal

-- Disks informations
-- ID | Model | Status
c0u0d0 | ATA HGST HUS724020AL PN1134P5G5989W | Online
c0u0d0 | ATA HGST HUS724020AL PN1134P5G5D0MW | Online
c0u0d0 | ATA HGST HUS724020AL PN1134P5G5A98W | Online
c0u0d0 | ATA HGST HUS724020AL PN1134P5G598PW | Online

Cheers

from hwraid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.