smartctl megaraid,N ( how to find the right value for N ? )
up vote
0
down vote
favorite
we run the smartctl on sdb disk
smartctl -a /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'
according to the output from smartctl we change it to
smartctl -a -d megaraid,0 /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA20ENY
.
.
and I set the - 0 , according to the first bus ( from smartctl --scan )
smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_00], SCSI device
/dev/bus/0 -d megaraid,12 # /dev/bus/0 [megaraid_disk_12], SCSI device
/dev/bus/0 -d megaraid,13 # /dev/bus/0 [megaraid_disk_13], SCSI device
/dev/bus/0 -d megaraid,14 # /dev/bus/0 [megaraid_disk_14], SCSI device
/dev/bus/0 -d megaraid,16 # /dev/bus/0 [megaraid_disk_16], SCSI device
but I am not sure if this value "0" is the right value
am I right here ?
linux rhel disk fdisk smartctl
add a comment |
up vote
0
down vote
favorite
we run the smartctl on sdb disk
smartctl -a /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'
according to the output from smartctl we change it to
smartctl -a -d megaraid,0 /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA20ENY
.
.
and I set the - 0 , according to the first bus ( from smartctl --scan )
smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_00], SCSI device
/dev/bus/0 -d megaraid,12 # /dev/bus/0 [megaraid_disk_12], SCSI device
/dev/bus/0 -d megaraid,13 # /dev/bus/0 [megaraid_disk_13], SCSI device
/dev/bus/0 -d megaraid,14 # /dev/bus/0 [megaraid_disk_14], SCSI device
/dev/bus/0 -d megaraid,16 # /dev/bus/0 [megaraid_disk_16], SCSI device
but I am not sure if this value "0" is the right value
am I right here ?
linux rhel disk fdisk smartctl
Not sure what you mean by "right" value. If you want to identify which disk is attached to which megaraid port, look at the vendor/productid value. If there's no label on your physical disk, attach it somewhere else to find out which disk is which (or remove all other disks).
– dirkt
Dec 2 at 10:26
what I mean is that - for example lets take the - megaraid,0 , this include the value - 0 , so I took it for N
– yael
Dec 2 at 10:33
1
Yes, you can use 0, or 12, or 13, or 14, or 16 for N. If your scan output isn't complete, possibly even more numbers. And you already tried with 0, and it worked. So try the others, too. How many harddisks have you connected to this controller?
– dirkt
Dec 2 at 11:01
I accept this , so you can post an answer and I will vote for it
– yael
Dec 2 at 11:52
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
we run the smartctl on sdb disk
smartctl -a /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'
according to the output from smartctl we change it to
smartctl -a -d megaraid,0 /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA20ENY
.
.
and I set the - 0 , according to the first bus ( from smartctl --scan )
smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_00], SCSI device
/dev/bus/0 -d megaraid,12 # /dev/bus/0 [megaraid_disk_12], SCSI device
/dev/bus/0 -d megaraid,13 # /dev/bus/0 [megaraid_disk_13], SCSI device
/dev/bus/0 -d megaraid,14 # /dev/bus/0 [megaraid_disk_14], SCSI device
/dev/bus/0 -d megaraid,16 # /dev/bus/0 [megaraid_disk_16], SCSI device
but I am not sure if this value "0" is the right value
am I right here ?
linux rhel disk fdisk smartctl
we run the smartctl on sdb disk
smartctl -a /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'
according to the output from smartctl we change it to
smartctl -a -d megaraid,0 /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA20ENY
.
.
and I set the - 0 , according to the first bus ( from smartctl --scan )
smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_00], SCSI device
/dev/bus/0 -d megaraid,12 # /dev/bus/0 [megaraid_disk_12], SCSI device
/dev/bus/0 -d megaraid,13 # /dev/bus/0 [megaraid_disk_13], SCSI device
/dev/bus/0 -d megaraid,14 # /dev/bus/0 [megaraid_disk_14], SCSI device
/dev/bus/0 -d megaraid,16 # /dev/bus/0 [megaraid_disk_16], SCSI device
but I am not sure if this value "0" is the right value
am I right here ?
linux rhel disk fdisk smartctl
linux rhel disk fdisk smartctl
asked Dec 2 at 10:23
yael
2,3301956
2,3301956
Not sure what you mean by "right" value. If you want to identify which disk is attached to which megaraid port, look at the vendor/productid value. If there's no label on your physical disk, attach it somewhere else to find out which disk is which (or remove all other disks).
– dirkt
Dec 2 at 10:26
what I mean is that - for example lets take the - megaraid,0 , this include the value - 0 , so I took it for N
– yael
Dec 2 at 10:33
1
Yes, you can use 0, or 12, or 13, or 14, or 16 for N. If your scan output isn't complete, possibly even more numbers. And you already tried with 0, and it worked. So try the others, too. How many harddisks have you connected to this controller?
– dirkt
Dec 2 at 11:01
I accept this , so you can post an answer and I will vote for it
– yael
Dec 2 at 11:52
add a comment |
Not sure what you mean by "right" value. If you want to identify which disk is attached to which megaraid port, look at the vendor/productid value. If there's no label on your physical disk, attach it somewhere else to find out which disk is which (or remove all other disks).
– dirkt
Dec 2 at 10:26
what I mean is that - for example lets take the - megaraid,0 , this include the value - 0 , so I took it for N
– yael
Dec 2 at 10:33
1
Yes, you can use 0, or 12, or 13, or 14, or 16 for N. If your scan output isn't complete, possibly even more numbers. And you already tried with 0, and it worked. So try the others, too. How many harddisks have you connected to this controller?
– dirkt
Dec 2 at 11:01
I accept this , so you can post an answer and I will vote for it
– yael
Dec 2 at 11:52
Not sure what you mean by "right" value. If you want to identify which disk is attached to which megaraid port, look at the vendor/productid value. If there's no label on your physical disk, attach it somewhere else to find out which disk is which (or remove all other disks).
– dirkt
Dec 2 at 10:26
Not sure what you mean by "right" value. If you want to identify which disk is attached to which megaraid port, look at the vendor/productid value. If there's no label on your physical disk, attach it somewhere else to find out which disk is which (or remove all other disks).
– dirkt
Dec 2 at 10:26
what I mean is that - for example lets take the - megaraid,0 , this include the value - 0 , so I took it for N
– yael
Dec 2 at 10:33
what I mean is that - for example lets take the - megaraid,0 , this include the value - 0 , so I took it for N
– yael
Dec 2 at 10:33
1
1
Yes, you can use 0, or 12, or 13, or 14, or 16 for N. If your scan output isn't complete, possibly even more numbers. And you already tried with 0, and it worked. So try the others, too. How many harddisks have you connected to this controller?
– dirkt
Dec 2 at 11:01
Yes, you can use 0, or 12, or 13, or 14, or 16 for N. If your scan output isn't complete, possibly even more numbers. And you already tried with 0, and it worked. So try the others, too. How many harddisks have you connected to this controller?
– dirkt
Dec 2 at 11:01
I accept this , so you can post an answer and I will vote for it
– yael
Dec 2 at 11:52
I accept this , so you can post an answer and I will vote for it
– yael
Dec 2 at 11:52
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Yes, you can use 0, or 12, or 13, or 14, or 16 for N.
If your scan output isn't complete, possibly even more numbers.
And you already tried with 0, and it worked. So try the others, too.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Yes, you can use 0, or 12, or 13, or 14, or 16 for N.
If your scan output isn't complete, possibly even more numbers.
And you already tried with 0, and it worked. So try the others, too.
add a comment |
up vote
2
down vote
accepted
Yes, you can use 0, or 12, or 13, or 14, or 16 for N.
If your scan output isn't complete, possibly even more numbers.
And you already tried with 0, and it worked. So try the others, too.
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Yes, you can use 0, or 12, or 13, or 14, or 16 for N.
If your scan output isn't complete, possibly even more numbers.
And you already tried with 0, and it worked. So try the others, too.
Yes, you can use 0, or 12, or 13, or 14, or 16 for N.
If your scan output isn't complete, possibly even more numbers.
And you already tried with 0, and it worked. So try the others, too.
answered Dec 2 at 12:15
dirkt
16.3k21335
16.3k21335
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485463%2fsmartctl-megaraid-n-how-to-find-the-right-value-for-n%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Not sure what you mean by "right" value. If you want to identify which disk is attached to which megaraid port, look at the vendor/productid value. If there's no label on your physical disk, attach it somewhere else to find out which disk is which (or remove all other disks).
– dirkt
Dec 2 at 10:26
what I mean is that - for example lets take the - megaraid,0 , this include the value - 0 , so I took it for N
– yael
Dec 2 at 10:33
1
Yes, you can use 0, or 12, or 13, or 14, or 16 for N. If your scan output isn't complete, possibly even more numbers. And you already tried with 0, and it worked. So try the others, too. How many harddisks have you connected to this controller?
– dirkt
Dec 2 at 11:01
I accept this , so you can post an answer and I will vote for it
– yael
Dec 2 at 11:52