Geek Freely: freenas

    Featured Post

    The whole point in this post is to run your own VPN service, and allow you to connect remote devices to your home network.

    To start off yo…

    Showing posts with label freenas.

    Showing posts with label freenas.

    Previously on FreeNAS 0.7.2 I had to use the following configuration

    to get additional speed on my transfers, and those benefits were only

    when copying to the NAS, not from it.

    Everything was acceptable on FreeNAS 0.7.2, however updates had

    halted, FreeNAS took a leap to version 0.7.5, which there is no official

    upgrade route from 0.7.2, then 0.7.5 seems to have branched off into

    NAS4Free.

    So what to do?

    I changed my FreeNAS 0.7.2 installation into an embedded install,

    then upgraded to 0.7.5.  At this point I had to re-mount all my drives

    (backup configurations at every stage).  I was able to check the

    permissions I had configured by checking my old configuration_###.xml

    files.  Within minutes I had FreeNAS 0.7.5 running, additional benefits

    were already there – however the plan was to move to NAS4Free since I

    see FreeNAS support halting completely in the future.

    Upgrading to NAS4Free, while experimental, was the simplest process:

    Make a backup of your configuration. (Web GUI ‘System|Backup/Restore’)

    Modify the configuration by changing the upper most

    and the most lowest string

    on the configuration to

    and

    respectively.

    Change the version to 1.0.

    Burn the Live CD (ISO) and install NAS4Free.

    Restart the server without the CDROM.

    Import your modified configuration (Web GUI ‘System|Backup/Restore’) and restore.

    At this point I was able to remove all the extra auxiliary parameters for SAMBA.

    Update:  NAS4Free has an upgrade path from FreeNAS now.

    Notes can be found at the following location:

    This version supports upgrading from FreeNAS 0.7.2 or 0.7.5.

    The supported lowest config version is 8.9. (0.7.2.5246)

    So I have FreeNAS running samba shares on my network, for the most part I really don’t need to access the data on my actually Linux boxes – only my HTPC.

    But I decided I wanted to create mount point on the media folder of my Ubuntu install.

    So here is what I had to do in fstab (/etc/fstab)

    //freenas_server/sharename /media/localsharedirectory cifs credentials=/home/macleod/smb.credentials,uid=mountuser,gid=mountgroup,iocharset=utf8,codepage=cp437,auto 0 0

    My credentials are stored in smb.credentials, like so:

    username=myuname

    password=mypwd

    And I got most of the information from here:

    Obviously replace mountgroup, mountuser with your ubuntu username and group (group is probably the same as name).  Also replace the appropriate shares and credentials – hopefully you get the picture.

    UPDATE:

    I edited the fstab entry so I now define the iocharset and codepage, this is so foreign characters are displayed correctly in the filesystem, and applications.  I noticed the issue due to having display issues in iSub and Subsonic.

    UPDATE2:

    The DOS Charset should be CP437 – CP850 is missing a few which I needed for foreign language music artists.

    I was trying to use symbolic links:

    ln -s /mnt/Personal/Music /mnt/user/Music

    But I needed to add them to the wheel group – which didn’t make sense, I tried doing everything relative, instead of absolute – like indicated http://www.proftpd.org/docs/howto/Chroot.html but it didn’t work for me.  Adding them to wheel basically allowed them to navigate anywhere they wanted.

    If anyone has had success using symlinks with their proftpd server, do let me know.

    In the end I had to mount a null filesystem

    mount_nullfs /mnt/Personal/Music /mnt/user/Music

    This basically duplicates the filesystem, any changes made to the dupe will affect the original, so be very careful with your user privilages.

    To undo this “link” you can simple umount the dupe

    umount /mnt/user/Music

    I do not currently know of any ill side effects to this, but I would appreciate any feedback from the guru’s out there.

    I do have to run these commands every-time the system starts – this is a real drawback – I would love to use symbolic links, but have not been able to work it out.

    So the other month I bought a ton of new equipment for a new NAS box.  The question was, which NAS software to go for?  As ever it needed to be free, preferably open-source, and have all the functionality I was looking for.

    Webserver

    FTP server

    SAMBA/CIFS

    RSYNC

    I wrote about my excitment for

    more than a few months back ().  However during this wait my current NAS ) began to fail, due to harddrive issues, and the fact that it was a crappy old box.

    OMV has yet to be released, so I was in a bit of a pickle, I have new hardware, I need a new NAS, so I began to try my alternatives.  I installed and checked out the following NAS solutions:

    P.S. There are more, but some of them were ruled out due to hardware limitations, or pricing for several drive solutions ().

    eBox was nice in the fact that it had a built in LDAP server, but I soon realized that it is not something I really need.  Openfiler was cool, but I had some issues with my

    drives (a), and I wasn’t really a fan of the Volume Management. And Amahi… it sounds good, but the plug and play aspect is a little cluncky/cloogy in my mind.

    So in the end, I stuck with FreeNAS!  I have implemented encryption on my drives, FreeNAS handles the WD EARS no problem, setup the UPS feature for safe power downs.  All in all I am happy with my decision, there is no guarantee that OMV will be in a good shape when it is release, so why take the risk – stick with something I know and love!

    Subscribe to:

    Labels

    Blog Archive

    Links

    Leave a Reply

    Your email address will not be published.