Author Topic: Linux NAS Solutions  (Read 1212 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13454
  • Karma: 331
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #15 on: January 20, 2014, 10:40:43 pm »
Well, I'm not sure now  ??? .. I could have sworn I saw it mentioned in FreeNAS documentation, but according to Wikipedia XFS is only experimental in FreeBSD
http://en.wikipedia.org/wiki/XFS#History

Definitely supported in Linux as long as you have xfsprogs installed.

[EDIT]

Embarrassingly, according to this:
http://en.wikipedia.org/wiki/FreeNAS
FreeNAS only supports UFS and ZFS  :o
« Last Edit: January 20, 2014, 10:52:26 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: 2511
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #16 on: January 20, 2014, 11:21:10 pm »
Yeah I've finally managed to install PC-BSD and xfs definitely wasn't an option.

Anyway I've made some progress, PC-BSD is installed and I've mounted the 1tb ext hdd and all the files are there, but the 60gb hdd wont mount on any PC so it's probably knackered, but my daughter has a 250gb ext hdd so I'll borrow that tomorrow and start copying the files over

the ext hard drive my daughter has is formatted to NTFS, will PC-BSD mount that and if not what file system should I format it to that can be read by PC-BSD & Linux ?



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: 13454
  • Karma: 331
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #17 on: January 20, 2014, 11:42:45 pm »
I'm going to guess YES

as according to this:
http://en.wikipedia.org/wiki/FreeNAS#Features

FreeNAS supports NTFS and FAT

Quote
UFS2, NTFS and FAT file system support


[EDIT]

See here:
http://forums.pcbsd.org/showthread.php?t=16817

it seems that external ntfs drives are automounted in /media :)
« Last Edit: January 20, 2014, 11:48:43 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: 2511
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #18 on: January 21, 2014, 07:55:41 am »
Another way I thought of doing this would be to resize the partition on the 1tb drive containing the files leaving enough space to create a new ext4 partition large enough to copy the files over to so I would have 2 sets of identical files on 2 separate partitions on the same drive then when all the files are copies over to OMV I would then just have to delete the ufs partition and extend the ext4 partition to the full size of the drive, that way I wouldn't have to sync all the files back over to the 1tb drive when everything's transferred (hope I've explained that ok)

The problem with that plan is that I see no way of resizing the partition on the 1tb drive in gparted, the option to resize is greyed out

Could that work ?



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: 13454
  • Karma: 331
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #19 on: January 21, 2014, 12:50:54 pm »
Not unless gparted in PC-BSD will allow you to resize the UFS partition.
WARNING: You are logged into reality as 'root'

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

Online Emegra

  • Hero Member
  • *****
  • Posts: 2511
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #20 on: January 21, 2014, 01:51:37 pm »
Quote
Not unless gparted in PC-BSD will allow you to resize the UFS partition.

It doesn't look like there is a gparted for PC-BSD, certainly nothing listed in Appcafe, I'll just stick to the original plan



Graeme
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: 2511
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #21 on: January 21, 2014, 08:10:47 pm »
Yep PC-BSD has it's own partitioning utility which CLI only,

Anyway as an update I, cannot get any non UFS drive to mount in PC-BSD I've tried FAT32, NTFS & EXT4 nothing other than UFS will mount, I always knew this would be a problem one day,

So it looks like it's gonna have to be a LAN transfer 270 hours at the last count (I make that 10 days give or take not counting the inevitable connection timeouts) and that's only 1 drive :(

Don't let anyone tell you PC-BSD is a Linux alternative



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

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1461
  • Karma: 119
  • Gender: Male
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #22 on: January 21, 2014, 09:06:32 pm »
It might be a bit simpler to do this in your existing Linux install.
Find out which device holds your UFS file system:
Code: [Select]
sudo fdisk -l
note which device you intend to mount.
Create mount point
Code: [Select]
sudo mkdir /mnt/ufs_disk
Mount it read only (adjust device name to suit):
Code: [Select]
sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdXX /mnt/ufs_disk
Plug in your external HDD you intend to use for transfer (let it automount) then copy files over from /mnt/ufs_disk

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13454
  • Karma: 331
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #23 on: January 21, 2014, 11:18:44 pm »
I tried mounting a UFS partition in Peppermint earlier (in exactly the way SeZo mentions), and even though I'd installed ufsutils and modprobed ufs it still wasn't recognised as a valid mount -t option  :o
(and I'm seeing that on the web a LOT ... some pages suggest support needs compiling into the kernel, but if that's the case, why is there a ufs module ??? )
WARNING: You are logged into reality as 'root'

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

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 631
  • Karma: 22
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #24 on: January 22, 2014, 09:10:23 am »
That's a good point Mark - it's quicker to compile a patched kernel than wait 10 days for a LAN transfer

Online Emegra

  • Hero Member
  • *****
  • Posts: 2511
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Linux NAS Solutions
« Reply #25 on: January 22, 2014, 11:00:18 am »
Yeah I tried some time ago to get ufs partitions to mount in Linux following various tutorials and I couldn't get it to work either and just assumed I wasn't doing it right.

Anyway everything went pear shaped last night and I had to reinstall OMV (long story) anyway as it happens BSD wont mount anything other than ufs but it will let me access my Windows partition via gigolo so I can transfer to that partition then access them through either Windows or Linux and copy them to the 250 ext HDD frm there, then connect the ext drive to OMV and copy over which I'm doing now, it's not too bad it takes around 6 hours to transfer 100gb approx


Many thanks


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: 13454
  • Karma: 331
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux NAS Solutions
« Reply #26 on: January 22, 2014, 12:35:09 pm »
Ouch  :o
WARNING: You are logged into reality as 'root'

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

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal