Gentoo Forums
Gentoo Forums
Quick Search: in
names to hard disks which order?
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gettons
n00b
n00b


Joined: 20 Oct 2005
Posts: 25

PostPosted: Thu Jul 03, 2008 5:50 pm    Post subject: names to hard disks which order? Reply with quote

Hi guys,

shortly, I have 2 sata disk attached to motherboard and one on a promise pci sata controller.
Everything gone well, all disks recognized by last stable gentoo.
I am going to create 3 raid 1 for swap /home and / on 2 disks of those and I would like to create such raids on two different controller of course :

1 disk on sata mobo controller
and
1 disk on pci sata controller


USUALLY Linux gives names in orders as he find them, and I could take the vol_id and try to boot with only one disk for 3 times to discover the vol_id .
But what if I have no access to this machine?

I mean, is there a way to find and to be sure that sda ( for example ) and sdb are the two on the mobo and sdc is the only one on the pci controller?

Is there a way to see where sd* is attached on my computer, throught which controller ?



Thanks in advance.
Back to top
View user's profile Send private message
ph030
l33t
l33t


Joined: 20 Jun 2004
Posts: 716
Location: Frankfurt (Germany)

PostPosted: Fri Jul 04, 2008 1:51 am    Post subject: Reply with quote

Have I missed something and you can create a RAID over some partitions(I'd guess no)? Either your talking bout something LVM(or - trendy andy - ZFS) or I totally missed some interesting functionality...
Back to top
View user's profile Send private message
gettons
n00b
n00b


Joined: 20 Oct 2005
Posts: 25

PostPosted: Fri Jul 04, 2008 3:27 am    Post subject: Reply with quote

ph030 wrote:
Have I missed something and you can create a RAID over some partitions(I'd guess no)? Either your talking bout something LVM(or - trendy andy - ZFS) or I totally missed some interesting functionality...



Sorry for my bad english, maybe I couldn't explain the right way.
Basically I have 3 sata hard disks ( sda,sdb,sdc ) : 2 attached on motherboard and 1 on pci controller.
How can I identify which one is attached to pci port ? ( in theory sdc, because usually Linux gives names in the order as if finds them at the boot, and I suppose the 2 hd on the mobo will be the first and second )
I wish to be sure of that because managing a raid and wish to make a raid 1 on two disks and 2 different controllers.


Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum