Operating System - HP-UX
1751979 Members
4746 Online
108784 Solutions
New Discussion юеВ

command to delete RAID 0 through saconfig

 
SOLVED
Go to solution
shikhar_1
Regular Advisor

command to delete RAID 0 through saconfig

Hi,

I want to delete RAID0 which is configured as hardware RIAD (SAS SmartArray P400 RAID Controller) for disks in bays 5,6,7 and 8 are forming a RAID0 for Logical drive 1.


saconfig /dev/ciss0

---------- LOGICAL DRIVE 1 ----------

Device File = /dev/dsk/c0t0d1
RAID Level = 0
Size = 559929 MB
Stripe Size = 128 KB
Status = OK

Participating Physical Drive(s):

Ct Enc Bay WWID
1I 1 8 0x5000c5001d44a9e5
1I 1 7 0x5000c5001d44a955
1I 1 6 0x5000c5001d491c35
1I 1 5 0x5000c5001d44aa55

Participating Spare Drive(s):

Is the command should be like this?

/opt/raidsa/bin/saconfig /dev/ciss0 -D 1

Appreciating your response.
25 REPLIES 25
Torsten.
Acclaimed Contributor

Re: command to delete RAID 0 through saconfig

Exactly.

According to the man page:




To delete logical drive 0 -

/opt/raidsa/bin/saconfig /dev/ciss5 -D 0




Make sure it is no longer in use!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
P Arumugavel
Respected Contributor

Re: command to delete RAID 0 through saconfig

shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

Hi,

I want to see all my SAS drives in ioscan -funC disk o/p but after deleting it, its still showing a single disk in ioscan o/p.

# /opt/raidsa/bin/saconfig /dev/ciss0 -D 1
Are you sure you want to delete logical drive 1 on
SmartArray RAID controller /dev/ciss0? (y/[n]): y
Logical drive 1 deleted

disk 1 0/3/0/0/0/0.0.1 sdisk CLAIMED DEVICE HP OLUME

Can't it possible to see all 4 drives separetly?
So that i can use it separately for configuring vg's.
Torsten.
Acclaimed Contributor

Re: command to delete RAID 0 through saconfig

you can only use logical drives

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
P Arumugavel
Respected Contributor

Re: command to delete RAID 0 through saconfig

>> Can't it possible to see all 4 drives separetly?

Yes. You can see all 4 drivers seperately, but not as physical drive, only as logical drive.

Create arrays with RAID 0 for all 4 physical drive and use.

Rgds...
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

Now all the four drives are showing unassigned


internal 1I 1 8 0x5000c5001d44a9e5 DISK 146.8 GB UNASS IGNED
internal 1I 1 7 0x5000c5001d44a955 DISK 146.8 GB UNASSIGNED
internal 1I 1 6 0x5000c5001d491c35 DISK 146.8 GB UNASSIGNED
internal 1I 1 5 0x5000c5001d44aa55 DISK 146.8 GB UNASSIGNED

Now how to create it a separate lvols?

whats the command for that?

Appreciaitng your response
Torsten.
Acclaimed Contributor

Re: command to delete RAID 0 through saconfig

What do you want to have now?


RAID0, RAID1 or even RAID5???



You cannot access the physical disks from OS.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
RickT_1
Valued Contributor

Re: command to delete RAID 0 through saconfig

Shikhar,

Now that you can see all 4 disks, you can go into SAM and create a logical volume for each. As an alternative you can use the lvcreate command from the shell prompt.

Rick
Torsten.
Acclaimed Contributor

Re: command to delete RAID 0 through saconfig

no no no.


You CANNOT see physical drives connected to a P400 from the OS.


The output above is from saconfig utility.




You need to create a RAID set and logical drives (RAID 0/1/5).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!