Mulitple drives/storage



  • I have 4 external drives I can switch out via a USB connector.
    I would like to use them as a storage for my images. For example:
    1st for week 1 images
    2nd for week 2 images
    3rd for week 3 images
    4th for week 4 images
    I would like to attach an external drive and have that week’s images saved to the drive.



  • These are notes from Chuck Syperski’s video at [media=youtube]69gJvHjTKNQ[/media]

    add new hard drive for storage

    find out device name

    #sudo dmesg
    

    or

    #sudo fdisk -l
    

    partition disk my on /dev/sdb

     #sudo fdisk /dev/sdb
        n
        p
        l
        <enter>
        <enter>
        t
        83
        w
    

    format filesystem

    #sudo mkfs.ext4 /dev/sdb1
    

    move /images to /imagesOld

      #sudo mv /images/ /imagesOld
    

    make new /images directory

      #sudo mkdir /images
    

    mount new harddirve /dev/sdb1 to /images

     #sudo mount /dev/sdb1 /images
    

    copy files to new harddrive

      #sudo rsync -av = =progress /imagesOld/ /images
    

    change permissions

      #sudo chmod -R 777 /images
    

    auto mount the new hard drive use UUID

     #sudo blkid
    
      #sudo vlm /etc/fstab
    

    UUID=<UUID_of_you_nw_partition> /images ext4 errors=remount=ro 0 1
    reboot

    I’m just journaling this now as I dont have access to my server just yet. I’m not 100% certain every thing is correct


Log in to reply
 

328
Online

38729
Users

10555
Topics

99938
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.