Results 1 to 4 of 4
Hi,
I have a problem to add a new hard disk in my SUSE 10.3. Hope that someone here can help me.
I have a Linux Suse 10.3, which is ...
- 11-24-2008 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 3
Add new hard disk in suse 10.3
Hi,
I have a problem to add a new hard disk in my SUSE 10.3. Hope that someone here can help me.
I have a Linux Suse 10.3, which is using AMD CPU 64 bit. Originally, I attached the first IDE hard disk as the slave, with the DVD rom as the master. Then install SUSE 10.3 without any problem on it. To my surprise, in the suse, it use the first harddisk as /dev/sda, not the /dev/hda as I thought. Anyway, it works fine and I have no problem to use it for about a year.
Now, I want to install another IDE hard disk into this system since the storage is kind of problem now. I installed the new hard disk (it is also a IDE) as the master on the second IDE. From the BIOS, I can see all 3 IDE devices, first master is my DVD, first slave is my old hard disk, second master is my new hard disk. All the infomation, like name brand, capacity of my disk are correct in the BIOS.
But I can not access or partition the new disk in my suse. I tried the YAST2, but it did NOT see this new hard disk. It only found out the /dev/sda and all the partitions I original created on it. I expected a new /dev/sdb or something like that, so I can format and create partitions on it.
I searched on the web, normally I need to know the new disk name, found it in either /dev/hd* or /dev/sd*, then I can use fdisk to fomrat it, parition it and mount it. But here, I can not find it.
My question:
1) Why Linux treat my old hark disk as /dev/sda, instead of /dev/hda? I am 100% sure it is a IDE disk.
2) I see nothing as 'ls /dev/hd*', I only see /dev/sda as my old disk.
3) I check the /var/log/boot.msg, it looks like during the boot, the Linux use /dev/disk/by-id/ata-ST316xxxxxxxx to identify my first hard disk (It is a seagate disk, and I have SATA support in my motherboard. But I only have 2 IDE hard disk attached to it). I also saw that I have /dev/disk/by-id/edd-int12-dev80 in /dev/disk/by-id folder. Is it for my new added disk? If so, how I can format and mount it? My new disk is a Westdigit IDE disk.
All these new hard disk standard makes thing complex now. I miss my old /dev/hd? world now.
Thanks for your time and help.
- 11-24-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Check this wiki page for an explanation of why things have changed, and how it all works. Note that this page was written for Arch Linux users, but most of what is there applies to other distros as well.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 11-24-2008 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 3
Thanks for the info about why the Linux change to this way.
But it didn't help me in this case. My problem right now is that I can see this new disk in BIOS, but I can NOT see it in yast2 or any place in Linux. Maybe I can, but I didn't find it.
Here is what I have right now in my system:
mercury:~ # ls /dev/disk
by-id by-path by-uuid
mercury:~ # ls -ls /dev/disk/by-id
total 0
0 lrwxrwxrwx 1 root root 9 Nov 24 11:32 ata-ST3160023A_4JS2FPT5 -> ../../sda
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 ata-ST3160023A_4JS2FPT5-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 ata-ST3160023A_4JS2FPT5-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 ata-ST3160023A_4JS2FPT5-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 ata-ST3160023A_4JS2FPT5-part4 -> ../../sda4
0 lrwxrwxrwx 1 root root 9 Nov 24 11:32 edd-int13_dev80 -> ../../sda
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 edd-int13_dev80-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 edd-int13_dev80-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 edd-int13_dev80-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 edd-int13_dev80-part4 -> ../../sda4
0 lrwxrwxrwx 1 root root 9 Nov 24 11:32 scsi-SATA_ST3160023A_4JS2FPT5 -> ../../sda
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 scsi-SATA_ST3160023A_4JS2FPT5-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 scsi-SATA_ST3160023A_4JS2FPT5-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 scsi-SATA_ST3160023A_4JS2FPT5-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 scsi-SATA_ST3160023A_4JS2FPT5-part4 -> ../../sda
mercury:~ # ls -ls /dev/disk/by-path/
total 0
0 lrwxrwxrwx 1 root root 9 Nov 24 11:32 pci-0000:00:0f.1-scsi-0:0:0:0 -> ../../sr0
0 lrwxrwxrwx 1 root root 9 Nov 24 11:32 pci-0000:00:0f.1-scsi-0:0:1:0 -> ../../sda
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 pci-0000:00:0f.1-scsi-0:0:1:0-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 pci-0000:00:0f.1-scsi-0:0:1:0-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 pci-0000:00:0f.1-scsi-0:0:1:0-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 pci-0000:00:0f.1-scsi-0:0:1:0-part4 -> ../../sda4
mercury:~ # ls -ls /dev/disk/by-uuid/
total 0
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 697e0315-e663-4099-b7bb-0e8ab3805e57 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 a655e10a-34e7-49ab-9a6f-fd73e6496322 -> ../../sda4
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 b93f0848-9da5-48f4-9bea-19429b7421db -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Nov 24 11:32 ed2d44e1-2ec0-4146-a7c1-9ca1026fd315 -> ../../sda2
So in the above, in /dev/disk/by-path, is this ../../src0 is my new disk? If so, how I can format and mount it? Why Yast2 does not show me any new disk?
Thanks
- 11-24-2008 #4
You will not see a unpartitioned drive using ls
Try fdisk -l to list the disks and partitions on them.
You must add a partition. You can use Yast to do this.


Reply With Quote