Author Topic: Linux NAS Solutions  (Read 1594 times)

0 Members and 1 Guest are viewing this topic.

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Linux NAS Solutions
« on: January 19, 2014, 07:25:31 pm »
Hi Guys

I've finally managed to bork my Freenas server, it really wasn't difficult all I tried to do was install a sata drive Freenas wouldn't recognise the drive I then removed the drive put everything back the way it was and now it won't boot, I took a backup of the config but that's useless to me if I can't get into the system, it's probably quite fixable by reinstalling Freenas but to be honest I'm not really happy with Freenas, I can't get my head around the plugin/jail system and I don't think I ever will

So I'm at a crossroads and thinking of scrapping Freenas in favour of Openmediavault for several reasons but mainly because it's Linux based (Debian), if not OMV then some kinda Linux solution, so my first question is can I install OMV to usb key or usb hard drive, that's kinda important because I need to keep all the IDE channels open for storage 

If I'm good to install OMV the main problem will be moving all my files over because as it is all the drives are formatted to ufs so OMV won't read them, there are 5 drives which have all been backed up to a 1tb external usb drive, so the only way I see it would be to install PC-BSD on my PC mount the ext hard drive copy the files off the drive and pass them up to the OMV NAS, unless anyone has a better idea

Any help or advice would be much appreciated


Graeme
« Last Edit: January 19, 2014, 08:05:53 pm by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14303
  • Karma: 356
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #1 on: January 19, 2014, 08:34:21 pm »
What makes you think Linux can't mount ufs partitions ?

http://askubuntu.com/questions/85154/mount-ufs-filesystem
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #2 on: January 19, 2014, 08:39:58 pm »
Quote
What makes you think Linux can't mount ufs partitions ?

Yeah you're right but I'm sure I read somewhere that linux can only read ufs partitions not write but I maybe wrong
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14303
  • Karma: 356
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #3 on: January 19, 2014, 10:09:54 pm »
In Peppermint 4
Code: [Select]
modinfo ufs
seems to suggest there is a kernel module present .. dunno if it's read/write though

Quote
mark@AA1-Blue ~ $ modinfo ufs
filename:       /lib/modules/3.8.0-35-generic/kernel/fs/ufs/ufs.ko
license:        GPL
srcversion:     89DDD063B186411DD1F6735
depends:       
intree:         Y
vermagic:       3.8.0-35-generic SMP mod_unload modversions 686

So only one way to find out.....

--
« Last Edit: January 19, 2014, 10:13:15 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #4 on: January 19, 2014, 10:26:58 pm »
OK

I've went ahead and installed OMV to the NAS, I installed the OS to and external 40gb USB HDD but I cant get it to boot from that drive unless I access the boot menu (F12) and select USB Flash Drive, I've tried various things in the bios settings but no joy so far but it must be possible, I have one 500gb drive connected via a SATA controller the drive is recognised but I'm getting an error when I try to mount it  so I've still got a bit of configuring to do before I get to reformatting the drives and moving the data back over.

as it stands all the drives that have my data on them are disconnected so the data should still be good
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #5 on: January 19, 2014, 11:03:17 pm »
I'm having a few problems with OMV, but the immediate one is that I can't create a file system

I have i 500gb sata drive installed OMV recognises the drive under "Physical Disks" It's also listed under "Filesystems" as NTFS but if I click on "Create" no drives are listed in the drop down menu as per screenshot


Any help would be much appreciated



Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14303
  • Karma: 356
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #6 on: January 19, 2014, 11:36:03 pm »
My guess is you'd have to delete the NTFS partition first (as it's taking up the whole drive), then cr4eate a new one
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 828
  • Karma: 28
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #7 on: January 20, 2014, 10:10:17 am »
Out of interest, Distrowatch have been running a series on distros for home servers - last week and the week before (not sure about this week, haven't read it yet!). Might be worth reading if you're not settled on OMV

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #8 on: January 20, 2014, 12:51:50 pm »
Hi Chemicalfan

Thanks for that, I have kinda settled on OMV for now, it seems to tick all the boxes, it's very similar to Freenas without the geeky stuff , but I still have a bit of configuring to do before I'm up and running again, the biggest problem I see at the moment is the switch over from UFS to EXT4, that's scaring me a bit :)




Graeme
« Last Edit: January 20, 2014, 05:12:34 pm by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14303
  • Karma: 356
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #9 on: January 20, 2014, 03:55:38 pm »
If you can't read UFS in Linux, maybe you can do it in WinLOL
http://ufs2tools.sourceforge.net/

You'll still need to do some juggling with a spare drive though.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #10 on: January 20, 2014, 05:39:00 pm »
I have a spare 500gb HDD which is the drive I tried to install when I screwed the Freenas system up, I now have that drive installed into OMV and shared although I haven't yet been able to access it on my PC, so as it stands the original UFS drives containing all my file are so far untouched, I also have a copy of all the files from all the drives backed up to an external USB drive also formatted to UFS.

So once I've mounted the 500gb share in my PC I'm gonna have to find a way of mounting the external USB drive so I can copy the files over one drive at a time and clearing & reformatting each drive as I go, there are several ways I can this but I think the easiest way for me would be to install PC-BSD to my PC then mount the USB drive and access the files that way.

I have 2 HDD's installed on my PC 1 has a Windows 7 and a Peppermint 4 partition, the other drive which is only 40gb has a Peppermint 3 partition so there may be room on that drive to install PC-BSD, alternatively I have a spare 60gb USB HDD but I'm not sure if it's possible to install PC-BSD on that or if PC-BSD can be run as a live session, but it would be handy to have that drive spare for moving data.

So I'm just taking this one step at a time and open to suggestions




Graeme
« Last Edit: January 20, 2014, 05:42:46 pm by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14303
  • Karma: 356
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #11 on: January 20, 2014, 06:58:30 pm »
According to this:
http://www.livebsd.com/

There are a few BSD "LIVE" options, including PC-BSD

You could either boot it from a LiveCD or install it on the 60gb USB HDD (as long asx your system can boot from USB HDD's

Then at the very least transfer stuff from a UFS partition to an XFS .. Linux can read/write to XFS (after installing xfsprogs if not already installed).
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #12 on: January 20, 2014, 09:18:59 pm »
Here's how I'm thinking of doing this.

I'm currently installing PC-BSD to an old 8.4gb HDD on my PC, once installed I can mount the EXT HDD then copy across the files to the spare 60gb usb HDD, as the contents of some of the folders are larger than 60gb I'll have to do it in approx 60gb increments, then connect the usb hdd to the OMV server and copy the contents locally to the 500gb drive

is that feasible or is there a better way ?



Graeme
« Last Edit: January 20, 2014, 09:37:43 pm by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14303
  • Karma: 356
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #13 on: January 20, 2014, 09:25:02 pm »
Sounds like a plan

Once you have one of the drives contents copied, use that in place of the of the 60GB so you can copy more in one go

Bet ya wish ya'd chosen XFS in the first place eh ;)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Online Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #14 on: January 20, 2014, 09:36:44 pm »
Quote
Bet ya wish ya'd chosen XFS in the first place eh

Is xfs readable in both BSD & Linux ?






Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal