Page 19 of 20 FirstFirst ... 91617181920 LastLast
Results 289 to 304 of 310

Thread: Linux Server (NAS)

  1. #289
    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)

    Sorry if I made it sound complicated! Try googling "Linux file layout" - this link comes up first

    http://tldp.org/LDP/intro-linux/html/sect_03_01.html

    Everything in Linux is a file (even a hard drive) if it isn't a file, its a process.

    And I urge you to read "Linux in a Nutshell" which explains it all much better than I do!

    / is just the base of a file structure which contains files which may be devices. /boot will be a separate partition (usually). the /partition does contain the mountpoints for the filesystem, and usually contains the actually files for that mountpoint, but it doesn't have to. / could be a very small partition (say another 100Mb and all the other branches below that (/etc, /opt /etc /root. /home, /bin, /sbin, and so on could be on their own partitions or drives, although apart from /var and /home (and perhaps one or two others) there is no real reason to do so unless those file systems are very big - not something you would encounter on a home system.

    Think of the computer boot process

    Processor starts jumps to bios, bios sets up interrrupt vectors, and control jumps to the first sector of the first hard drive. That executes, and in linux starts grub (the boot loader) which continues executing the code in the boot partition. This will create a tempoary ram disk, and load a kernel image to it which will include driveers for your software raid and/or LVM. Then that will bring up the software raid, transfer control to the real kernel and mount the file system - which as I said, can consist of many partitions/physical drives.

    As Aidenhjt says, how you partition is a matter of judgement. On my system my the partition that contains the majority of my root files, which is / the partition is around 10Gb. I elected to have /var on a separate (3Gb) partition because I back that up regularly, and /home on yet another partition because it is a shared filestore and I back that up separately. I use hardware raid, but I use Logical Volume management so I can resize my partitions dynamically.

    /boot is about 100Mb and is outside the LVM structure for reasons I have described. The point is that /var /boot and /home are all mount points. If I unmount the /home partition, the branch is still on the file system (if I list / , I can still see /home - but there is nothing in it). I can creat a mount point /fredblogs and mount the partition there - I will then see the files in my home directory (/home/peter) at /fredblogs/peter. Of course some links would break so I wouldn't normally do that - but where I do use that is in backing up. LVM allows me to take a snapshot of a mounted filesystem, so I take a snapshot of /var - mount at at a mountpoint I created called /varback, and then back up that snapshot while /var is being accessed by the system. Nothing acesses /varback other than the backup software.

    The reason for that? I have adatabase in the /var filesystem and backing up databases while they are running is not a good idea (the backup can be inconsistent) , but this way the backup filesystem (varback) is static and the database files are consistent.
    Last edited by peterb; 09-04-2009 at 03:45 PM.
    (\__/)
    (='.'=)
    (")_(")

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

  2. Received thanks from:

    oimi (06-04-2009)

  3. #290
    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)

    How's the build coming on?
    (\__/)
    (='.'=)
    (")_(")

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

  4. #291
    Senior Member
    Join Date
    Apr 2008
    Posts
    375
    Thanks
    11
    Thanked
    19 times in 15 posts
    • Maccer101's system
      • Motherboard:
      • Foxconn G33
      • CPU:
      • Q6600 + Scythe Infinity
      • Memory:
      • 2gb Samsung PC-5300
      • Storage:
      • 1TB Samsung F1 + 250gb WD
      • Graphics card(s):
      • MSI 8800gt OC 512mb
      • PSU:
      • Corsair VX450
      • Case:
      • Antec Mini P180
      • Operating System:
      • Ubuntu 8.04
      • Monitor(s):
      • Samsung SW223BW + Dell 19"
      • Internet:
      • 10mb Virgin Broadband

    Re: Linux Server (NAS)

    Arrrgh! after that post I need to read that Linux book by the look of it

    I only run 3 partitions, one swap one root & one home (just so I can be sure that I can safely renistall the OS and keep all my data intact)
    HTPC1 - Coolermaster CM330, E2180 + Zalman 9500AT, GA-P31-DS3L, 2x1Gb PC6400 , Antec Earthwatts 430w , Fujitsu 2.5" 40gb HDD, 8600gt, Hannspree 32" LCD TV - Kubuntu 8.04

    HTPC2 - Silverstone TJ-08, Asus 690g, Athlon LE1300 + OCZ Vanquisher, 2x512mb PC5300, Dell 350w PSU, Fujisu 2.5" 40gb HDD, 8600gt, Toshiba 33" CRT TV - Ubuntu 8.04

    Laptop- Lenovo T41, Pentium M 1.6ghz, 768mb PC2700 RAM, 40gb HDD - Ubuntu 8.10

    NAS - Dell Case, Jetway J7F5 Mini-ITX, 1gb PC5300, Enermax Pro 82+ 425w, 1TB Hitachi - FreeNAS 0.69 on 256mb CF

  5. #292
    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 Maccer101 View Post
    Arrrgh! after that post I need to read that Linux book by the look of it

    I only run 3 partitions, one swap one root & one home (just so I can be sure that I can safely renistall the OS and keep all my data intact)
    And that is a perfectly reasonable way to run things - nothing wrong with it at all. I have just taken the partitioning a bit further because of the way my system operates and what it does! (I only posted it as an example of the flexibility of Linux filesystem)
    (\__/)
    (='.'=)
    (")_(")

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

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

    Re: Linux Server (NAS)

    Thanks for taking a continuing interest! I've not been at home to continue the build and now I've got a pile of assignments to complete. I was trying to get the ball rolling before, which is why I seemed impatient before. Sadly that means that nothing will be done for a while now. The machine is built and the operating system works, but that is as far as I have got.

    If you come up with any thoughts whilst I am away, please do contribute them as all help is appreciated.

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

    Re: Linux Server (NAS)

    Well, I've been playing with the installation disc for Debian Lenny and so far I have created 6 partitions on the 500GB drive.

    1. primary 100mb B ext3 (Boot/Installation)
    2. logical 15gb ext3 ('/')
    3. logical 4gb ext3 ('/var')
    4. logical 10gb ext3 ('/tmp')
    5. logical 306.2gb ext3 ('/opt'? - for image files of the OSs of computers connecting to the file server and the OS of the file server itself)
    6. logical 2gb F swap

    7. space from 3x1TB HDDs as '/home'.

    I would like to know how to work with LVM, especially so that I can mirror the files on the file server straight onto the external backup (which contains identical drives of the same size). I don't think I will need to worry about RAID, so long as I can find a way to work with the space from the seperate drives as one whole larger space.

  8. #295
    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)

    LVM doesn't of itself provide mirroring - it is the Linux equivalent of Windows Dynamic disks and allows you to span file systems (in the sense of creating a filestem such as ext3, rather than the filesystem in terms of mount points - think of the windows (misnamed) format command which creates NTFS or FAT filesystem structure) across prtitions/disks and resize them as your needs change. so you could create (say ) 20 50GB partitions on each of your 3 1TB disks. You might decide that you wnat 100GB for photos and 100GB for music.

    You create two logical volumes that you mount at /home/music and /home/photos. As time goes on, you find that your musc collection grows and 100G isn't enough - so you add another partion to the logical volume and expand the file system to fit the new 150GB logical volume.

    That is very basic - read the tutorials carefully.

    http://www.debian-administration.org/articles/593

    http://ds9a.nl/lvm-howto/HOWTO/cvs/l...lvm-howto.html

    http://distrowatch.com/weekly.php?issue=20090309

    http://easylinuxcds.com/blog/?tag=debian-5
    Last edited by peterb; 12-04-2009 at 05:50 PM.
    (\__/)
    (='.'=)
    (")_(")

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

  9. #296
    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)

    LVM can take snapshots though, which provides more select redundancy than blind duplication of all blocks.
    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...

  10. #297
    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 aidanjt View Post
    LVM can take snapshots though, which provides more select redundancy than blind duplication of all blocks.
    Yes - and also very useful when doing an offline backup of databases!
    (\__/)
    (='.'=)
    (")_(")

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

  11. #298
    Senior[ish] Member Singh400's Avatar
    Join Date
    Jun 2008
    Posts
    2,935
    Thanks
    136
    Thanked
    310 times in 247 posts

    Re: Linux Server (NAS)

    Is the server up and running?

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

    Re: Linux Server (NAS)

    Unfortunately, for the past two months this project has been put on hold, because I have been finishing assignments and am about to move. However, the new house was always the one considered when starting this project, so I should be able to get started relatively soon.

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

    Re: Linux Server (NAS)

    Still made no progress, really struggling! Still looking for suggestions etc.

    I still need help with this system, please, kind readers.

    Maybe step by step we can work through this?

    The first thing that needs to be established is the most reliable way of ensuring data integrity, whilst providing plenty of storage space. As you may recall, I have a series of HDDs installed inside the file server and an external NAS which contains an identical set of drives. This means that if there is ever a problem with the file server, there will be a copy stored on the NAS.

    So, what are your thoughts?
    Last edited by oimi; 02-12-2009 at 01:09 AM.

  14. #301
    Senior[ish] Member Singh400's Avatar
    Join Date
    Jun 2008
    Posts
    2,935
    Thanks
    136
    Thanked
    310 times in 247 posts

    Re: Linux Server (NAS)

    You are kidding right? There is 19 pages of information, everything you want has been mentioned in detail in this thread at least twice.

  15. #302
    ɯʎɔɐɹsɐʌʍ mycarsavw's Avatar
    Join Date
    Feb 2007
    Posts
    4,945
    Thanks
    1,097
    Thanked
    653 times in 482 posts
    • mycarsavw's system
      • Motherboard:
      • P8H77-M Pro
      • CPU:
      • i5 3350P
      • Memory:
      • 16Gb
      • Storage:
      • Lots
      • Graphics card(s):
      • R9 285
      • PSU:
      • HX 620w
      • Case:
      • FD Define Mini
      • Operating System:
      • W10
      • Monitor(s):
      • BenQ G2420HDBL + GL2450HT
      • Internet:
      • Sky

    Re: Linux Server (NAS)

    Quote Originally Posted by Singh400 View Post
    You are kidding right? There is 19 pages of information, everything you want has been mentioned in detail in this thread at least twice.
    This ^

    The "most reliable way of ensuring data integrity, whilst providing plenty of storage space" is called RAID (pick the one that gives you what you want and investigate it) and backups.
    |Kata: "Read title as 'fisting'. Not sure why I clicked. Relieved, really."|
    |TAKTAK: "It was so small that mine wouldn't fit into it"|

  16. #303
    I R Toff Pandi! TAKTAK's Avatar
    Join Date
    Mar 2008
    Location
    Vergon6
    Posts
    7,450
    Thanks
    553
    Thanked
    1,013 times in 748 posts
    • TAKTAK's system
      • Motherboard:
      • ASUS ROG STRIX B450-F GAMING
      • CPU:
      • Ryzen 7 3700X
      • Memory:
      • 16GB Corsair Vengeance LPX 3200MHz
      • Storage:
      • 500GB Samsung 970 EVO
      • Graphics card(s):
      • 5700 XT 50th Anniversary
      • PSU:
      • Be Quiet SFX-L 600W
      • Case:
      • Lian Li PC-O11 Mini
      • Operating System:
      • Windows 10
      • Monitor(s):
      • LG Ultrawide
      • Internet:
      • 200Mb FTTP

    Re: Linux Server (NAS)




    Post Counts and Other Rewards, Rules, Folding@Home, Fans: Push vs Pull vs Push-Pull, Corsair PSU OEMs.

    Quote Originally Posted by razer121 View Post
    Would you like me to enter you? it would be my pleasure
    TAKTAK.co.uk

  17. Received thanks from:

    watercooled (03-05-2010)

  18. #304
    Senior[ish] Member Singh400's Avatar
    Join Date
    Jun 2008
    Posts
    2,935
    Thanks
    136
    Thanked
    310 times in 247 posts

    Re: new here

    Hey is this server up and running yet?.....*already knows the answer to this*...

    Quote Originally Posted by sndrsndvz View Post
    hi im new to forums.hexus.net , looking to learn new things
    Read this thread. You will learn everything.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •