HEXUS.community discussion forums
  • HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality

  • Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > care@HEXUS > Thecus.care@HEXUS

    Thecus.care@HEXUS Founded in 2004, Thecus brings decades of R&D expertise, sales channel development, and a strong customer focus to deliver high-quality products that meet the storage needs of individuals and large organizations alike.

    Reply
     
    LinkBack Thread Tools
    Old 23-06-2008, 07:57 AM   #1 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Question n2100 expand raid... HOW?!

    I have an n2100 which until now, has had two 500 GB drives in RAID1. One failed, and since I have to buy a new drive anyway, I would like to expand the raid onto two 1 TB drives. As far as I can tell there is NO upgrade path for installing larger drives. WTF?!

    Do I seriously have to buy ANOTHER drive to backup to, (never mind the huge amount of time that it would take to copy 500 GB over the network), then copy all the data back once the new 1 TB RAID1 is built? Ridiculous!!!

    Thecus, I know the 5200 has this capability, so what exactly is the upgrade path for the 2100? There should be a module (or better yet, a built-in functionality) for this. If there is, I can't find it. Do you seriously expect that people will never want to swap out their drives for larger ones?

    Thecus, please advise what the best process is for this. Thank you.
    lewinb is offline   Reply With Quote
    Old 25-06-2008, 11:31 PM   #2 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    Anyone?

    It seems like Thecus doesn't always follow these forums very closely.
    lewinb is offline   Reply With Quote
    Old 26-06-2008, 11:37 AM   #3 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    OK, so I went ahead and rebuilt the raid using the two disks of different size. Thankfully, the data was mirrored. I made sure that the old drive was listed as Disk one first (NO idea if that makes a bit of difference).

    Now, the real problem. I'm going to take out the old drive and keep it as a backup, but HOW to grow the RAID to full capacity on the new, larger drive.

    Well, here's what I've found out, without much help from these forums, mind you. (grrrrr).

    There's a command-line program specifically for exactly this! I logged in as root via ssh, and found it's already compiled on the n2100. It's mdadm There's no man file for it on the n2100, so see the following:
    linuxmanpages.com/man8/mdadm.8.php

    Usage for expanding a raid: mdadm --grow device options

    mdadm --help for instructions.

    So, if anyone happens to have used this before, and could give a little guidance (cough!... Yvon... cough) it would sure save me a lot of time. It would also be EXTREMELY handy if someone at Thecus could build a module that would do this automatically. It CAN'T be that hard, since the program to do it is already there... (can it?)

    Thanks!
    lewinb is offline   Reply With Quote
    Old 27-06-2008, 03:19 PM   #4 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 3
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Thumbs up Re: n2100 expand raid... HOW?!



    Well if you find the answer I'll be delighted.

    I've just decided to upgrade 300 gig to 500 gig drives and found the new array, created by rebuilding twice for each new drive added into the mirror to replace the existing ones, reporting only 300 gig capacity - that's 200 gig missing.

    So yes, I'd love to find a way to expand the array on a N2100 without destroying the array or the data and without having to start afresh and copy all the data back and forward from the original drives through my PC onto the new array.

    Hmmm, maybe a good challenge for anyone wanting to write a module for it?

    worldmaker is offline   Reply With Quote
    Old 30-06-2008, 11:47 PM   #5 (permalink)
    Registered+
     
    Join Date: Mar 2008
    Location: Chitlterns
    Posts: 16
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Re: n2100 expand raid... HOW?!

    Originally Posted by lewinb View Post
    I have an n2100 which until now, has had two 500 GB drives in RAID1. One failed, and since I have to buy a new drive anyway, I would like to expand the raid onto two 1 TB drives. As far as I can tell there is NO upgrade path for installing larger drives. WTF?!

    Do I seriously have to buy ANOTHER drive to backup to, (never mind the huge amount of time that it would take to copy 500 GB over the network), then copy all the data back once the new 1 TB RAID1 is built? Ridiculous!!!

    Thecus, I know the 5200 has this capability, so what exactly is the upgrade path for the 2100? There should be a module (or better yet, a built-in functionality) for this. If there is, I can't find it. Do you seriously expect that people will never want to swap out their drives for larger ones?

    Thecus, please advise what the best process is for this. Thank you.

    The 5200 is the only device with Raid-Grow ability. So yes, you will have to re-format to increase your storage capacity. So restore the NAS from your backups. You *do* back up?
    ccomley is offline   Reply With Quote
    Old 01-07-2008, 12:18 AM   #6 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    Not True.... Did you read the previous posts?

    Last edited by lewinb; 01-07-2008 at 12:46 AM.
    lewinb is offline   Reply With Quote
    Old 03-07-2008, 10:49 AM   #7 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    Is Yvon alive out there? Isn't this something useful enough that Thecus could kindly weigh in or lend a hand?

    For those interested just in the possible answer, look at the last link.


    I did some looking, and I found a number of sites that outline procedures using lvm2, which isn't compiled (as yet) for the n2100... In general, they were simply too complicated for me, or assumed a bootable raid or other complications that don't seem relevant.
    A few of these are:
    http://mkfblog.blogspot.com/2007/11/...partition.html
    http://www.debian-administration.org/articles/424

    This one seems to imply that mdadm --grow --size=max would actually do it all, but I think I must not be reading it correctly:
    http://www.issociate.de/board/goto/1024674/


    Finally, I found this site, which uses mdadm and resize2fs.
    http://ubuntuforums.org/showthread.php?t=756407

    I'm assuming I can ignore everything about creating boot drives and GRUB, and skip straight to the point at which both new drives are installed with healthy RAID1 at the original disk's partition size. Basically, I think I can start at the point "Expand the array to the new size"

    It seems fairly straightforward. I'm hoping for some comment on it from people who know better, before I waste a lot of time trying to get it to work. Can it really be that simple?
    lewinb is offline   Reply With Quote
    Old 03-07-2008, 11:11 AM   #8 (permalink)
    Thecus Staff
     
    Thecus - Yvon's Avatar
     
    Join Date: Apr 2007
    Posts: 619
    Thanks: 0
    Thanked 6 Times in 6 Posts
    Re: n2100 expand raid... HOW?!

    Dear Sir,

    Such operaiton out of N2100 specification already, and it is out N2100 specification already, thus Thecus afraid to any provide suggestion for such operation, also it is out of N2100 warranty and technical support hope for your understanding.

    Yvon.

    Official Thecus Support Representative
    Thecus - Yvon is offline   Reply With Quote
    Old 03-07-2008, 08:12 PM   #9 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    So, Yvon, Thecus really honestly doesn't forsee that someone running a 320GB RAID1 might want to upgrade to 500 GB????? How can that be out of spec? I can imagine that it would be a very nice selling point, for Thecus to be able to say in advertisements "this device had a built-in module for expanding the RAID without complicated procedures... It's ready to expand when you are!"
    lewinb is offline   Reply With Quote
    Old 04-07-2008, 08:50 PM   #10 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 3
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Thumbs up Re: n2100 expand raid... HOW?!



    Thanks for everyone's comments.

    I did find one answer on the other Thecus Users Group (it won't let me post the link here but I'm sure you can all find it, ID there is same as here to help in your search).

    By then I had to do it the hard way - rebuild the array and use one of the original 320 gig drives on an external housing linked by an SATA connector (far faster than using a USB link!), but still took a couple of days to copy it all over and verify it.

    And I WILL keep one of the earlier drives as a long term backup, just in case.

    Oh well, back to work.....

    worldmaker is offline   Reply With Quote
    Old 04-07-2008, 09:05 PM   #11 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 3
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Post Re: n2100 expand raid... HOW?!

    Originally Posted by Thecus - Yvon View Post
    Dear Sir,

    Such operaiton out of N2100 specification already, and it is out N2100 specification already, thus Thecus afraid to any provide suggestion for such operation, also it is out of N2100 warranty and technical support hope for your understanding.

    Yvon.
    Yvon,

    Thank you for responding.
    Looks like an opportunity for someone somewhere to write an appropriate module to fill the gap. I believe there are discussion on this matter, but don't have the skill to contribute myself.

    worldmaker is offline   Reply With Quote
    Old 07-07-2008, 09:19 AM   #12 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    While I'm sure it's appreciated, I'd like to save the thanks until this is actually solved... It makes it easier for someone like me, who has to trawl through hundreds of pages of forum posts to find an answer.

    Once again, Yvon, it sure would be nice of you to help a little on this current question. Having intimate knowledge of how your machine works, this is a question you should be able to answer rather easily. And it doesn't make any difference to me that it's "out of specification"... I imagine if this can be solved, Thecus will only benefit from having a more robust product. SO you should help!!!

    Anyway...

    So the question is, WHY can't /raid unmount. The system thinks it's being used for some reason.

    Did a little checking... Found a debian forum where it is suggested that perhaps umount is failing due to running processes (daemonized, in their case).

    Code:
    N2100:/app/etc# umount -r /raid
    umount: /dev/md0 busy - remounted read-only
    N2100:/app/etc#
    But as far as I can tell, this is not the case here:

    Code:
    Mem: 180364K used, 336344K free, 0K shrd, 57656K buff, 54448K cached
    Load average: 0.01, 0.03, 0.00    (State: S=sleeping R=running, W=waiting)
    
      PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
    10165 root     R        772 18066  0.7  0.1 top
    18029 root     S       1732  2569  0.1  0.3 sshd
     2577 root     S       6656  2162  0.0  1.2 httpd
     2575 root     S       6600  2162  0.0  1.2 httpd
     3620 root     S       6548  2162  0.0  1.2 httpd
     2587 root     S       6508  2162  0.0  1.2 httpd
     2574 root     S       6508  2162  0.0  1.2 httpd
     2576 root     S       6504  2162  0.0  1.2 httpd
     3646 root     S       6472  2162  0.0  1.2 httpd
     2162 root     S       4832     1  0.0  0.9 httpd
     2930 root     S       2352     1  0.0  0.4 smbd
     2942 root     S       2344  2930  0.0  0.4 smbd
     2569 root     S       1488     1  0.0  0.2 sshd
    10155 root     S       1444     1  0.0  0.2 nmbd
     3101 root     S       1388     1  0.0  0.2 afpd
     2204 root     S       1096     1  0.0  0.2 cupsd
     3013 root     S       1044  2991  0.0  0.2 upnpd
     3000 root     S       1044  2991  0.0  0.2 upnpd
     2991 root     S       1044  2985  0.0  0.2 upnpd
     3011 root     S       1044  2991  0.0  0.2 upnpd
     9234 root     S       1044  2991  0.0  0.2 upnpd
     2985 root     S       1044     1  0.0  0.2 upnpd
     2211 root     S        836     1  0.0  0.1 udpr
    Yes, there are plenty of priocesses running, but none of them should be running from /raid... Yet it is "busy" for some reason.

    I also wanted to see what IS mounted as separate filesystems:

    Code:
    N2100:/app/etc# mount
    rootfs on / type rootfs (rw)
    /dev/root on / type ext2 (rw)
    tmpfs on /var type tmpfs (rw)
    devpts on /dev/pts type devpts (rw)
    proc on /proc type proc (rw,nodiratime)
    /dev/cloop0 on /usr/lib type ext2 (ro)
    /dev/cloop2 on /opt type ext2 (ro)
    /dev/mtdblock3 on /app type jffs2 (rw,noatime)
    /dev/md0 on /raid type ext3 (rw,noatime,nodiratime)
    N2100:/app/etc#
    Finally, I wanted to see exactly what IS SUPPOSED to be mounted:

    Code:
    N2100:/app/etc# vi fstab
    
    tmpfs  /var  tmpfs  defaults  0 0
    devpts           /dev/pts         devpts      gid=5,mode=620   0   0
    proc             /proc            proc        defaults         0   0
    none             /sys             sysfs       defaults         0   0
    ~
    ~
    ~
    Unfortunately, I'm not quite sure what to make of it.

    There seem to be no processes running that would access /raid, and according to fstab, well I'm not sure... I expected to see a lot more there, based on how many things are mounted. At a loss for the moment. :-/
    lewinb is offline   Reply With Quote
    Old 12-08-2008, 03:38 AM   #13 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    Let's look at a different possibility...

    The raid will operate in degraded mode with a drive missing. I think I remember reading that the n2100 is a software raid. That being the case, is it possible that the drive could be mounted via a usb enclosure by another OS (Mac/Ubuntu, etc.) which has support for ext2 or ext3?

    The Drive Utility with Mac os is capable of creating raids and altering partitions, so could it mount a raid created on another linux box? And then increase the partition?
    lewinb is offline   Reply With Quote
    Old 22-08-2008, 02:31 AM   #14 (permalink)
    Registered User
     
    Join Date: Jun 2008
    Posts: 10
    Thanks: 0
    Thanked 0 Times in 0 Posts
    lewinb's system
    Re: n2100 expand raid... HOW?!

    Yvon, could you give a little input here? I really think you could be a bit more helpful in finding a *reasonable* solution to this.
    lewinb is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > care@HEXUS > Thecus.care@HEXUS


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On
    Forum Jump

    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    N2100 RAID0 dropped HD but all seems ok ? rodster1972 Thecus.care@HEXUS 3 17-12-2007 02:26 AM
    n2100 features spiken Thecus.care@HEXUS 1 22-10-2007 08:39 AM
    Problem with my N2100 Mr. Thirdworld Thecus.care@HEXUS 3 03-10-2007 08:34 AM
    Press Release :: Intel-based Thecus N2100 Powers Debian Project Navin Thecus.care@HEXUS 0 02-05-2007 03:58 PM
    NAS Hardware Advice Needed - Considering Thecus N2100 chooky78 HEXUS.hardware 6 18-01-2007 03:12 AM



    All times are GMT +1. The time now is 04:58 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned. HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    Powered by vBulletin® Version 3.7.2
    Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.2.0
    © Copyright 2007 HEXUS Limited. All rights reserved. Unauthorised reproduction strictly prohibited.