Query related to device naming of SATA


 
Thread Tools Search this Thread
Operating Systems Solaris Query related to device naming of SATA
# 1  
Old 10-08-2009
Query related to device naming of SATA

Friends,
Could u please clarify how does a Solaris 10 machine recognize a SATA hard disk, SATA CD/DVD drives.
Will it recognize it like a SCSI? eg.c0t0d0 or like ide ? eg.c0d0


thank u.
# 2  
Old 10-08-2009
it will see it as both... c0d0p0 for the fdisk partition and the solaris partion (labeld by fdisk as solaris2) will be seen as c0t0d0sx.
# 3  
Old 10-10-2009
Quote:
Originally Posted by DukeNuke2
it will see it as both... c0d0p0 for the fdisk partition and the solaris partion (labeld by fdisk as solaris2) will be seen as c0t0d0sx.
Is this really because of the platform on which the OS runs, meaning, if it was on x86 or sparc ?
# 4  
Old 10-12-2009
Quote:
Originally Posted by DukeNuke2
it will see it as both... c0d0p0 for the fdisk partition and the solaris partion (labeld by fdisk as solaris2) will be seen as c0t0d0sx.
I am not sure, but SATA on Sparc???
Generally on i386 are disks visible like c0d0pX.
# 5  
Old 10-12-2009
Quote:
Originally Posted by brusell
I am not sure, but SATA on Sparc???
Generally on i386 are disks visible like c0d0pX.
where is the talk about sparc?

also note:

Code:
root@solaris # format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0d0 <DEFAULT cyl 2085 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0
       1. c2t0d0 <ATA-VBOX HARDDISK-1.0-2.00GB>
          /pci@0,0/pci8086,2829@d/disk@0,0

for IDE disks your remark is right but for SATA it is the well known notation! and the question was about SATA disks... the above output is from vbox on intel system with c0=IDE and c2=SATA controller.

Last edited by DukeNuke2; 10-12-2009 at 04:39 PM..
# 6  
Old 10-12-2009
The SATA framework is using the SCSI driver (sd) so sata disks are named with the same scheme as SCSI (c*t*d*[ps]*). IDE disks are handled by the cmdk driver and are named with no target (c*d*[ps]*).
# 7  
Old 10-12-2009
Quote:
Originally Posted by jlliagre
The SATA framework is using the SCSI driver (sd) so sata disks are named with the same scheme as SCSI (c*t*d*[ps]*). IDE disks are handled by the cmdk driver and are named with no target (c*d*[ps]*).
This is correct assuming of course that the SATA drives are operating in native mode. However many systems also support SATA in IDE compatibility mode which will appear to the OS as IDE and thus be cXtY[sp]. It is a small point but worth noting none the less.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Interfaces related query

I need to list the interfaces that uses FTP instead of SFTP on my applications that are on AIX servers. How do I get that list of IP addresses that connect to my applications via FTP? (2 Replies)
Discussion started by: ggayathri
2 Replies

2. UNIX for Dummies Questions & Answers

query related to grep

Hi All, The result for 'grep "cert_codes" /develop/sales/appl.srce/*.4gl' command will be saved at aa.txt grep "cert_codes" /develop/sales/appl.srce/*.4gl >aa.txt But I am not sure, whether, all result stored in .txt file in case of multi-line result. Please revert back if... (2 Replies)
Discussion started by: pbankar
2 Replies

3. UNIX for Dummies Questions & Answers

A query related to 'ls' command

I am executing the ls command to show the contents of a folder, it shows some number in front of word total as highlighted in blue color below quotes. Can anyone please share that what it is? (2 Replies)
Discussion started by: Zaib
2 Replies

4. Shell Programming and Scripting

datetimestamp related query!

Hi all, I have put a query in a thread but didn't get any reply. Hoping to get a reply here. I have a file in that one line resembles like below... Forwarded by Deepak on 11/15/2009 10:28 AM EST ofcourse AM can be PM also... so what i need is first i need to get only... (1 Reply)
Discussion started by: smarty86
1 Replies

5. Solaris

A query on Disk naming conventions in Solaris.

These are findings by me with my little experience with Solaris 10. Please correct me if wrong.. In x86 systems with ide hard disk: c= controller d=disk s=slice 1.Here controller c0 means the primary ide controller ide0. controller c1 means the secondary ide controller ide1. ... (5 Replies)
Discussion started by: saagar
5 Replies

6. Shell Programming and Scripting

query related to if

wht does below statement mean? if wht does dis -d option do?? TIA. (1 Reply)
Discussion started by: sainathdeg
1 Replies

7. Shell Programming and Scripting

Print related query

i Am using the below query and printing the $8 and $9 filed.. find /A/B/C/{1,3,5,7} -name "*.txt" -o -name "*.csv" -o -name "*.TXT" -o -name "*.dat" |xargs ls -ltr |awk '{print $8 ,$9}' > result.xls this give me the rsult like below.. 2008/home/ADMIN/om/1.txt 2008/home/ADMIN/om/hi.txt ... (1 Reply)
Discussion started by: sapan123
1 Replies

8. UNIX for Dummies Questions & Answers

awk related query

hi, I have to extract a column from a file and then updated that column..?? Now i can use wak for extracting it and then how to update it.. $ awk' {print $5}' input_file Can i use sed command here piping it to the output from the awk command.. (2 Replies)
Discussion started by: abhisek.says
2 Replies

9. Shell Programming and Scripting

sed related query

Hi I have a file which looks like this //string = "abcd"; //info //string = "*pqrs"; //add string = "#123"; //sub //string = "#1234567890" data = check(string) //string = "#1234567890" I want to modify this as string = "#987"; //mult data = check(string) How do i do that? (1 Reply)
Discussion started by: gopsman
1 Replies

10. Shell Programming and Scripting

Query related to #!/bin/sh

hi All Why is #!/bin/sh being used in most of the ksh scripts......? I have seen this (#!/bin/sh) being used at the start of the script Regards Suresh (2 Replies)
Discussion started by: sureshg_sampat
2 Replies
Login or Register to Ask a Question