Home    Forum    Search    FAQ    Register    Log in


Post new topic  Reply to topic 
Page 1 of 1
 
 
Adding A HDD To A JBOD Not Working
Author Message
Reply with quote Download Post 
Post Adding A HDD To A JBOD Not Working 
 
Hi all,
I tried adding a new HDD to my nas config.
I have a 35HD-QUAD-NAS and 2 drives of 1 tera each
the system is on a JBOD ext3
I bought another tera to add it to my Jbod
inserted the new drive, and went to the web admin tool.
I went to Disk tools>Basic mode
I see HDA and HDB in the system, appearing as RAID used.
I see HDD appearing on the system as unmounted and not formatted.
I try to fromat on ext3 but nothing happens afterwards.
I have left the Giganas one day on hoping for it to be doing it on the background. Nothing.

I have tried as well via Telnet.
I spent a while trying to play around with the fdisk function.
I created a config which was equal to the one on disk 2
This is what shows up now on the fdisk command:
Code: [Download] [Hide] [Select]
[i]NAS> fdisk -l

Disk /dev/hda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1               1           7       56227   fd  Linux raid autodetect
/dev/hda2               8          14       56227+  fd  Linux raid autodetect
/dev/hda3              15      121536   976125465   fd  Linux raid autodetect
/dev/hda4          121537      121601      522112+  82  Linux swap

Disk /dev/hdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb3               1      121536   976237919+  fd  Linux raid autodetect
/dev/hdb4          121537      121601      522112+  82  Linux swap

Disk /dev/hdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdd1               1      121536   976237888+  fd  Linux raid autodetect
/dev/hdd2          121537      121601      522112+  82  Linux swap[/i]


Still, from the web admin tool, there is nothing new appearing...
no change whatsoever, still asking me whether I want to format the drive.

I am a bit lost at the moment.

The Objective was to add to the JBOD the new harddrive, so I can still add data to the box.
Has anyone of you tried this already, and got same issue?
Does anyone have a better idea to fix this?
I am open to suggestions, and will welcome any recommendation.
 



 
Last edited by Ozzy on Monday, 24 September 2012, 17:32; edited 1 time in total 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Adding A HDD To A JBOD Not Working 
 
Found some moreinfo thatmight help everyone:

Actually, mdadm is working in this busybox ( ).
I did a check and found that there are 2 mounts on the FS
1st: md0> It has hda1 and hda2
2nd: md1>It has hda3 and hdb3

If this is seen like that, I just need to stop the JBOD md1 as such and add on it hdd1.
This is what I have done:

Code: [Download] [Hide] [Select]
[i]NAS> mdadm --detail /dev/md1
/dev/md1:
        Version : 00.90.03
  Creation Time : Thu Jun  4 18:43:01 2009
     Raid Level : linear
     Array Size : 1952363200 (1861.92 GiB 1999.22 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Sat Sep 22 16:39:47 2012
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

       Rounding : 64K

           UUID : 6f3364a5:5722a39c:3e5a06a3:57dxxxxx
         Events : 0.327

    Number   Major   Minor   RaidDevice State
       0       3        3        0      active sync   /dev/hda3
       1       3       67        1      active sync   /dev/hdb3[/i]


This shows indeed my config.

I need to stop my Array, so this goes like this:

Code: [Download] [Hide] [Select]
[i]NAS> mdadm --stop /dev/md1
mdadm: fail to stop array /dev/md1: Device or resource busy
NAS>[/i]


Again blocked here.
 I checked what is that appears mounted:

Code: [Download] [Hide] [Select]
[i]NAS> mount
usbfs on /proc/bus/usb type usbfs (rw)
/dev/md0 on /system type ext3 (rw)
/dev/md1 on /mnt/md1 type ext3 (usrquota,grpquota)[/i]


If I try to unmount md1, to liberate it, it gives me the following:

Code: [Download] [Hide] [Select]
[i]NAS> umount -f /dev/md1
umount: forced umount of /dev/md1 failed!
NAS>[/i]


So again I am blocked.
I keep looking around, should you know anything that can help, do not hesitate to bring it up...
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Adding A HDD To A JBOD Not Working 
 
I think that you can't add a new HDD to a RAID system with theses NAS. You must copy all data from RAID to anywhere and then remake a new RAID with the 3 HDD. Good Luck!
 



 
View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Adding A HDD To A JBOD Not Working 
 
Thanks for the message Azafeto.

I do not have a 2 tera HDD hanging around for this pourposes...

Anyhow, I believe that the reason why it does not let me add the HDD to the JBOD is because there are processes running on the mnt.
So if processes are runnning, then I cannot unmount the mnt.
I have tried unmounting via force, but no luck.
Maybe if I send a kill message to the processes running, then I can do something more on the NAS.

If I run a PS command on the NAS, I see the processes running.
I do not know how to check which process is running on the mount I want to unmount.

Do any of you know the command to pull the processes running on a specific mount at a specific given time?

I could kill then the processes, and then I could unmount the mnt, and remount it with a new drive added on it.
 



 
View user's profileSend private message 
Back to topPage bottom
Display posts from previous:   
 

Post new topic  Reply to topic  Page 1 of 1
 

Users browsing this topic: 0 Registered, 0 Hidden and 1 Guest
Registered Users: None


 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You cannot download files
You can post calendar events