Page 18 of 20 FirstFirst ... 8151617181920 LastLast
Results 273 to 288 of 310

Thread: Linux Server (NAS)

  1. #273
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    Quote Originally Posted by Singh400 View Post
    Have you built your server yet?
    In terms of hardware, yes.

  2. #274
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    I've gone with MSDOS for the partition table.

    I'm partitioning the drives now, so someone please remind me what size I should use for the debian installation and allowing for updates, as well as space needed for SWAP and RAM?

    Thank you so much.

  3. #275
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Linux Server (NAS)

    Quote Originally Posted by oimi View Post
    Yes, I am using AMD64!

    Woah, that looks like a lot of reading having loaded up those links...
    "Time spent on reconnaissance is seldom wasted."

    Attributed to Napoleon I: Maxims of War, 1831

    Partitioning - one for /, one for /var one for /home - you will need a small one for /boot. and another one that will be used for the swap file. Rule of thumbv used to be double the size of RAM, but IMHO that is a bit ott - probably equal to ram size will be fine. That is on the system disk. You then want a mount point(s) for the storage disc - how you partition that is really a matter of preference - and each partition can have its own mount pount in thye filesystem.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  4. Received thanks from:

    oimi (05-04-2009)

  5. #276
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    Okay, thanks for that.

    Code:
    100MB for boot partition, 
    4GB for SWAP partition
    20GB for /
    
    Not sure about /home or /var.

  6. #277
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    299
    Thanked
    630 times in 419 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Linux Server (NAS)

    I did 100mb for /boot, 10gb for /, 3gb for /var and 3gb for swap. This is with ubuntu server and I have had no problems. You do not need to do separate /home, just mount the rest of the space in a subfolder within the home folder and put all your files there

  7. Received thanks from:

    oimi (05-04-2009)

  8. #278
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    Quote Originally Posted by SiM View Post
    I did 100mb for /boot, 10gb for /, 3gb for /var and 3gb for swap. This is with ubuntu server and I have had no problems. You do not need to do separate /home, just mount the rest of the space in a subfolder within the home folder and put all your files there
    Thank you for your thoughts. What about if I want the /home partition on the 3x1TB HDD array?

  9. #279
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    How would I go about doing that?

    If I create the following partitions:

    /boot @ 100MB
    / @ 20GB
    /var @20GB
    /tmp @ 10GB
    SWAP @ 2GB

    Debian is installed in "/"? What is the difference between that and /boot?

    Please could you also tell me what specifically is the need for /usr?
    Last edited by oimi; 05-04-2009 at 04:18 PM.

  10. #280
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Linux Server (NAS)

    20 Gb is probably too much for / Sim's layout sounds about right.

    Remember that the file system is not hard drive centric (unlike windows). As a user do you care where the physical location of the data is? For all you care, it can be on any disk, on a lan, or using iSCSI, anywhere on the internet. Of course as the admin - you do care, because it is imporrtant to know what to back up. Remeber you - as a computer/system owner, have two roles - one as admin - where you will use rootly privileges, and one as user, when you will only need low priviliges.

    So to go back to your question. about /home. Yoiu may get the option to define /home as part of the set up, but if not, or as a general principle, how do you add a hard drive to the file system?

    Let us say you want to add /music to your file system. You add the mountpoint /music using the mkdir command from /. Do once you have a terminal window open with rootly privilges.

    These ommands are for Fedora - ubmtu shouldn't be that different - but check!!!

    cd /
    mkdir music

    ls -l

    This will list all the directories and files in / and you should see music. Note that this does not exist anywhere - it is a mountpoint on the file system.

    Now let us say that you have a partition on drive sdb. The first partition will be sdb1. you can mount this using the command in generic terms "mount something somewhere"

    mount /dev/sdb1 /music (you might need a few options there)

    Now if you go to /music - you will see the files.

    If you want that mounted automatically you need to edit a config file, in fedora it is /etc/fstab

    so using a text editor (I generally use vim)

    vim /etc/fstab

    and enter a line like this....

    /dev/hda7 /mnt/windows ntfs-3g auto,user 0 0

    This is acually a line from my fstab file and it means

    auto mount at start up partition 7 on device hda at mount point /mnt/windows and recognise it as an ntfs partition.

    Again read up on fstab (use command man fstab) to see how to add entries.

    This is another entry

    /dev/system/var /var ext3 defaults 1 2

    Here /dev/system/var is part of a logical volume called var on a logical group called system. (The logical group consists of several partitions on a drive - or could be many drives)

    So I mount at start up an ext3 filesystem at mountpoint /var the partition /dev/system/var

    Note how neat this is - I have different file systems mounted on the same tree. As a user I neither know (nor care) what the file systems are, or where they are, I just use them. Even neater, you can mount the same partition at different mountpoints if you want to - bu beware, if you have a partition mounted, and you mount something else at the same mountpoint, the first set of files will be inaccessible until the second file system is unmounted - but you could mount that first filesystem somewhere else.

    If it all sounds a bit confusing, remeber that the centerwe of the world is not the hard drive - it is the file system. Windows has tried to achieve that with a desktop centric view - the desktop contains hard drive partitions, but to my mind it is a bit of a kludge - but if it helps you to grasp the concept, think of it in that way - but it is really better than that.
    Last edited by peterb; 05-04-2009 at 10:30 PM.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  11. Received thanks from:

    oimi (05-04-2009)

  12. #281
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    *Jaw drop"

  13. #282
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    Thanks for that very complicated explanation

    When creating the partitions, is the primary partition "/"? and the logical "/boot"? I'm assuming that Debian will install to "/" and not "/boot".

  14. #283
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    I'm guessing that the primary partition is "/" as this is the root for Debian.

    I'm now on this screen:

    Code:
    [!!] Partition Disks
    
     Partition settings:
    
                   Use as:                  Ext3 journaling file system
                   Mount point:             /
                   Mount options:           defaults
                   Label:                   /
                   Reserved blocks          20GB
                   Typical useage:          standard
                   Bootable flag:           off
                   
     
    
                   Copy data from another partition
                   Delete the partition
                   Done setting up the partition
     
    
        <Go Back>
    Do I keep the file system mentioned above? Are these settings okay?

    Will I need to choose any other settings for the other partitions?

  15. #284
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable

    Re: Linux Server (NAS)

    A large root will do ok, you should probably also have a 1 or 2GB swap, just in case. Any additional space after that should probably go to /home.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  16. Received thanks from:

    oimi (05-04-2009)

  17. #285
    Splash
    Guest

    Re: Linux Server (NAS)

    Quote Originally Posted by aidanjt View Post
    A large root will do ok
    ..and I have a new sigquote

  18. #286
    Senior Member
    Join Date
    Jan 2007
    Posts
    363
    Thanks
    142
    Thanked
    4 times in 2 posts

    Re: Linux Server (NAS)

    Thank you, is that the right partition system to use?

  19. #287
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable

    Re: Linux Server (NAS)

    Quote Originally Posted by oimi View Post
    Thank you, is that the right partition system to use?
    There's really no 'right' partition setup, it's a bit of an art form, which you'll refine with experience for each given situation. The partition scheme I mentioned is the one which will give you the least hassle since it's relatively simple.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  20. Received thanks from:

    oimi (05-04-2009)

  21. #288
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable

    Re: Linux Server (NAS)

    Quote Originally Posted by Splash View Post
    ..and I have a new sigquote
    lol, I didn't even consider it being read like that.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Similar Threads

  1. Replies: 48
    Last Post: 29-05-2008, 02:22 PM
  2. Setting up a file server (linux)
    By Gordy in forum Software
    Replies: 11
    Last Post: 01-06-2007, 11:54 PM
  3. Replies: 15
    Last Post: 19-10-2006, 12:33 PM
  4. Building a linux server / pc - hardware
    By madman045 in forum Software
    Replies: 7
    Last Post: 21-09-2006, 08:35 AM
  5. What Linux distro for a server?
    By Aaron in forum Software
    Replies: 7
    Last Post: 18-09-2004, 11:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •