Meaning of SDA

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Meaning of SDA
# 1  
Old 07-06-2011
Meaning of SDA

Hey everyone. Right now I am working through Red Hat's online storage reconfiguration guide for a project that we're working on. For removing storage paths to a volume using multipaths, it says that the first step is to type:
Code:
echo offline> /sys/block/sda/device/state

Does it actually mean SDA? Or should I modify it to match the device in question?

I ask because further down the same guide it says specifically:
Code:
echo 1 >/sys/block/device-name/device/delete

I can't tell if this is an issue with their documentation, or not. Wouldn't SDA be the first scsi disk, not the particular disk I'm working on? I just want to make sure it doesn't have a special meaning in this case. Thanks!

For your reference, the guide is here:
6. Removing a Path to a Storage Device

Again, thanks for any help. I want to really understand this before I tinker too much.
# 2  
Old 07-06-2011
It is the "general procedure," so I'd say not to write "offline" to sda's device state, if it is not sda you want to bring offline. Smilie
# 3  
Old 07-06-2011
Confirmed, I just did it with the sdX device listed by each path in multipath -l. Worked like a bell. Tested both adding and removing devices with no issues.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

3. UNIX for Advanced & Expert Users

"Phantom" overwrite with dd on sda*?

Greetings. Just wondering about a little "quirk" which I seem to have found when using dd ;) (FWIW on that note, I'm using a flash install of Parted Magic to run dd in these tests...) Thinking about it, there should be some measurable excitement associated withdd if=/dev/zero of=/dev/sda*... (4 Replies)
Discussion started by: LinQ
4 Replies

4. UNIX for Advanced & Expert Users

The system will not keep sda as my boot drive

Hi everyone! A very frustrating night!!! I installed a new linux server on my system that has IDE drives and SATA drives. At the time of installation I only had IDE drive plugged in and that is where I install the linux. Everything works fine until I shut the system down and plug in my SATA... (3 Replies)
Discussion started by: hytron
3 Replies

5. UNIX for Dummies Questions & Answers

boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd

Help, suspect hacked via serial or electric! any ideas on error "Pid:1, comm:swapper Tainted:G W 2.6.35-22 generic #33 -unbutu device = "(null)" or unknown-blocklist(8.1) please append a correct "root"boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd. Thanks... (3 Replies)
Discussion started by: kryclear
3 Replies

6. HP-UX

PGP query with SDA

Hi I have a requirement to have a script which will encrypt a file on my HPUX server in such a way that the receiver of the file only has to enter a passphrase to decrypt (no swapping of keys, etc.) Ideally, I want to use some free software to perform the task. From what I have read so far, the... (0 Replies)
Discussion started by: errigal
0 Replies

7. UNIX for Advanced & Expert Users

scsi sda device not mounting !!

I have a small scsi memory disk device that my computer claims is a /dev/sda mount type.. and I have mounted it in the past.. but I just recently reinstalled my whole system to check out a couple of things on my database. including the scsi device and now I can't get it to mount.. i tried to mount... (20 Replies)
Discussion started by: moxxx68
20 Replies
Login or Register to Ask a Question