[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Adding 2nd drive to Raq4i, doesn't appear in gui



>> I guess this is where I am confused, what needs to be done manually
>> and what needs to be done through the gui.  When I originally
>>installed the drive (new, not partitioned), it was not recognized
>> by the gui at all. All I saw was the original entry for my existing
>> 'home' partition, and even that was greyed out

>That should be greyed out, as we don't want people accidentally 
>deleting their main partition etc... it's just listed there for 
>informational purposes so you can see how big the drive is, etc.

>I took a quick look through the script that deals with all this 
>(/usr/admserv/cgi-bin/.cobalt/disk/diskAdd.cgi.  It looks like this 
>script wants to format and partition the drive itself. All the "heavy 
>lifting" is done in the Perl module 
>/usr/lib/perl5/site_perl/5.005/Cobalt/DiskUtils.pm...

>All you _should_ need to do is put a new blank (completely 
>unformatted, etc) drive in the system and deal with it through the 
>UI.  If you made any manual entries in /etc/fstab, pre-formatted the 
>disk, etc, the script will most likely fail in some fashion.  Also 
>double-check the jumpers on the drive and ensure it's set to be a 
>master.

>You may want to try using fdisk or something and see if you can remove 
>all the partition info, undo anything manual that you did, and try 
>again...
 
That's exactly what I did originally.  The drive was brand new, never
partitioned.  There was no change to the gui storage page when I added
this drive, no sign that it was there, no 'add drive' button, etc.

That's when I started doing things manually, (fdisk /dev/hdc,etc), as I
wasn't sure what, if anything, needed to be on the drive for the gui to
recognize that it was there.


-jim-