Results 1 to 6 of 6

Thread: access other hard drives in ubuntu server 14.04.1

  1. #1
    Join Date
    Jan 2015
    Beans
    3

    access other hard drives in ubuntu server 14.04.1

    Hello, I'm very new to linux, I've just built a pc to use as a media server. I have 3 HDD's, 1 will be used for just the OS and primary files, the other 2 will be used for media storage.
    How can I access the other HDD's to create folders and add files etc.

    Thanks.

  2. #2
    Join Date
    Jan 2014
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: access other hard drives in ubuntu server 14.04.1

    looking for a Low End Dedicated Server ?
    hobby to be anonymous, web proxy list and proxy list

  3. #3
    Join Date
    Jan 2015
    Beans
    3

    Re: access other hard drives in ubuntu server 14.04.1

    already read through them, no help. All I need is a command to get from the main HDD that root is on, to the other HDD that will store the media.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: access other hard drives in ubuntu server 14.04.1

    evan20; Hi !

    To access files on the other hard drives one must first attach the file system to "root". This is done by making up a mount point; for instance:
    Code:
    sudo mkdir /mnt/test
    now through that 'mount point' we mount a file system .. say there is a partition number 1 on the 2nd hard drive, and the file system on this sdb1 is ubuntu's ext4; then one does a number like so:
    Code:
    sudo mount /dev/sdb1 /mnt/test
    OK ! now you have the file system attached and are able to manipulate the files on sdb1. To look:
    Code:
    ls -al /mnt/test
    ls -al /mnt/test/<some_directory>
    one mount point to a destination at a time .. make as many mount points as one needs if opening other file systems.

    When done, MUST UN-mount what you manually mounted - failure to do so will result in file system corruption at some level:
    Code:
    sudo umount /mnt/test
    hope that helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Jan 2015
    Beans
    3

    Re: access other hard drives in ubuntu server 14.04.1

    Brilliant, thanks so much.

  6. #6
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: access other hard drives in ubuntu server 14.04.1

    Hi, if you have found a solution, please mark your thread as solved by going to Thread Tools -> Mark thread as solved.


    Thanks!
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

Tags for this Thread

Bookmarks

Posting Permissions

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