Page 1 of 1
System disk issue
Posted: 12 Nov 2014 09:35
by ZiEg
Dear all,
I am facing an issue I cannot get rid of.
My motherboard has 6 SATA ports (model in ma signature) and I use 7 SATA Disks in my NAS (1 for the system and swap and 6 for storage)
So I had to add a PCI card with 4 SATA ports (for future extension)
My problem is that my system HDD cannot be ada0 so as soon as I format the ada0 drive (storage drive) I receive a message : " Error cannot format the OS Drive"
I know it is possible to fix a certain drive to ada0 in a config file (in UNIX) using its UUID number.
The solution would be that one for me but I dont know :
1. is it feasible on FreeBSD
2 If it is, what is the file to be changed
Many thanks for your help
Regards
Re: System disk issue
Posted: 12 Nov 2014 09:47
by b0ssman
did you press clear config and import disks in the disk managment?
Re: System disk issue
Posted: 12 Nov 2014 10:04
by ZiEg
b0ssman wrote:did you press clear config and import disks in the disk managment?
Sure I did.
The thing is that the PCI SATA card bring ADA0 - 4 according to the number of drives connected on it.
So tried to put my System disk on it. System was starting to boot and then failed with a rootmount request. I tried all my drives (just in case of) and all storage drive sent an error code 22 when the system drive returned a code 19.
As rootmount I entered ufs:/dev/adaX (X from 0 to 6).
Now I am lost. because I cannot create my Raids ( 3x Raid0 composed of 2 drives and then a Raid5 composed of the 3 Raid0 )
Re: System disk issue
Posted: 12 Nov 2014 10:06
by b0ssman
is there a reason why you are using a system disk instead of the recommended usb embedded install?
Re: System disk issue
Posted: 12 Nov 2014 10:31
by ZiEg
Yes.... and no....
Previously, I was on an embedded version but I had to install PHP and MySQL. I tried through a jail and it was really problematic.
So I went to a full version and now my databases and my webserver are working really well. So if I have to rebuild everything and face again the issue .....
As I said, I am rather confident to find a file where you can fix ada0 to a certain HDD like eth0 to a certain network card.... which will be much more than good for my case
Re: System disk issue
Posted: 12 Nov 2014 11:40
by ZiEg
Re: System disk issue
Posted: 12 Nov 2014 16:33
by ZiEg
b0ssman wrote:is there a reason why you are using a system disk instead of the recommended usb embedded install?
Anyhow, if you are asking that in order to get rid of the PCI card, it is useless as my NAS will continue to grow with 3 other HDD soon (6+4 = 3*3 +1); So I really need to sort this out to be able to continue my upgrade path
Re: System disk issue
Posted: 12 Nov 2014 16:36
by b0ssman
Re: System disk issue
Posted: 12 Nov 2014 21:21
by ZiEg
It is more or less what I found b0ssman... The labeling concept. But it does not fix the peripheral name (ada0, ada1, ada2, ....) but only the name
And no I am not using ZFS because I can't find a tutorial for the dummy I am with ZFS