best way to use 2x 500gb hdd

Discussion in 'Linux & BSD' started by Dark Atheist, Mar 11, 2008.

  1. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    they arent on the raid part of the board, i see no point in concat'ing them so would it be best to go with gstripe ? i want them to be one drive as its for storage
     
  2. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    Best way to use 2 x 500GB disks is to send them to me so I can put them in my private anime server :)
     
  3. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    they are already in my prv8 server :) - along with a spare 200gb (sata 150gb) - just require the best way of how to use them, X showed me how to gstripe and concat but is it required here ?

    gstripe label -v 500gb /dev/ad4
    gstripe label -v 501gb /dev/ad6


    gconcat label -v 1tb /dev/gstripe/500gb /dev/gstripe/501gb

    ????

    Ergo.Proxy.part01.rar - akira.part01.rar :p
     
  4. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    Up to you. You loose space due to the larger cluster sizes if your stripe them.
     
  5. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    what would you do ?
     
  6. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    leave them as individual drives.
     
  7. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    simple enough :)
     
  8. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    gstripe is like gconcat, except it stripes the data across both drives, so writes and reads are faster. No space is lost.

    You want to do gstripe label -v 1TB ad4 ad6 if I remember correctly, not near a FreeBSD machine to check the man page.

    This will create a 1 terabyte stripe that you can then newfs.

    Have you ever used the geom providers LordOfLA?
     
  9. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    Only for raid1.
     
  10. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    So gmirror?
     
  11. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
  12. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    atm i have them as separate drives i suppose i could change them, thing is they arent full 500gb - no drive is what they say they are they are 465gb, also don't you have to start and stop a gstripe volume, from what im reading, betting im wrong ;)
     
    Last edited: Mar 11, 2008
  13. Petros

    Petros Thief IV

    Messages:
    3,038
    Location:
    Pacific Northwest
    Oh this is a technical thread. I was going to say <censored>.
     
    Last edited by a moderator: Mar 11, 2008
    epk and Bman like this.
  14. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    No, you don't have to start and stop it. You can add it to /etc/fstab and have it mounted on boot. All you have to do is add the kernel module to load on boot and you are set.

    I have gconcat/gstripe set up on my server, loads up automatically.
     
    Bman likes this.
  15. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    geom_concat_load="YES"
    geom_stripe_load="YES"


    or just the gstripe line ?
     
    Bman likes this.
  16. Lawman82

    Lawman82 I see bad people

    Messages:
    525
    Location:
    Indianapolis, IN
    Hey X what's wrong about leave the drive as a storage disk, I have a 500 gig come in the mail back from seagate, and I was just going use it that way, I'm not on the tech programing tip.
     
  17. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    so its agreed then - gstripe the buggers and add geom_stripe_load="YES" to loader.conf

    /dev/stripe/1TB 902G 4.0K 830G 0% /store - nothing has been uploaded to it yet, i thought you said i wouldn't loose anything X ?
     
    Last edited: Mar 12, 2008
  18. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I could be totally reading all of the comments wrong but why would you want to make your backup into a raid setup, unless its mirroring. If you have a crash or something happens you are pretty much screwed out of all your information.

    What you need to do is get a 1TB drive and be done with it lol
     
  19. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    all that will be going on there will be backed up anyway - just easier to have it on a pc then to find it on a disc - and if i were to use raid 1 i would only have 465gb of space
     
  20. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    You have a point, and having only 465GB is a good reason not too eh