Adding JBOD to fstab

Status
Not open for further replies.

doverosx

Dabbler
Joined
Jan 4, 2013
Messages
33
I've got a JBOD setup but I'm unable to edit the fstab used by IX...it just looks like a script that pulls in what it needs by reading an SQLite DB. Can someone help me out in getting my drive added to the fstab?

No, mount -uw / did *NOT* work as I expected; FreeBSD is underlying OS after all.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
You don't add drives to the fstab. You manage the drives from the GUI. If that's not an option the only other idea I have is to create a cronjob that runs at startup and runs the command you want. There's a bunch of reasons why you don't edit files on the boot partition...
 

doverosx

Dabbler
Joined
Jan 4, 2013
Messages
33
You don't add drives to the fstab. You manage the drives from the GUI. If that's not an option the only other idea I have is to create a cronjob that runs at startup and runs the command you want. There's a bunch of reasons why you don't edit files on the boot partition...

This needs to happen for FreeNAS to be of any use for me. I have created my JBOD because the GUI has removed the option...I don't know why only Mirrors and Stripes receive all the fame...they are limited in their flexibility. I also don't know why I'm being forced into ZFS for the flexibility that I require...I'm not buying 2GB DDR sticks...it's an ancient technology. I'm also not going to rebuild my system...again...just for FreeNAS that defeats the entire benefit of the thing.

My OS is on the flash drive...how do I add my drives without being hacky? Do you know where the DB is stored?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
If you aren't willing to utilize the features of FreeNAS why are you using it? Use some other NAS appliance (NAS4FREE, OpenMediaVault, etc) FreeNAS is obviously too much for your machine to handle.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
This needs to happen for FreeNAS to be of any use for me. I have created my JBOD because the GUI has removed the option...I don't know why only Mirrors and Stripes receive all the fame...they are limited in their flexibility. I also don't know why I'm being forced into ZFS for the flexibility that I require...I'm not buying 2GB DDR sticks...it's an ancient technology. I'm also not going to rebuild my system...again...just for FreeNAS that defeats the entire benefit of the thing.

My OS is on the flash drive...how do I add my drives without being hacky? Do you know where the DB is stored?

You aren't being "forced" to use ZFS. ZFS is the main target of FreeNAS, but UFS in mirror and stripe(and I believe only those.. never used UFS) are the options. If those options aren't what you need then my response would be the same as pirateghost... FreeNAS might not be the best option for you. I wanted ZFS specifically and after reading about FreeNAS I tried it and fell in love with it. I'd never go back now. If you really are determined to use FreeNAS and you are a coder you could submit your own patch to add support. From what I've seen personally, if you submit code you can expect it to be merged within a few days assuming it doesn't break other things.

The SQL DB is stored in /data/freenas-v1.db if you want to get hacky, but I'd be very wary about doing anything like what you are trying to do. Props for trying though...
 

doverosx

Dabbler
Joined
Jan 4, 2013
Messages
33
If you aren't willing to utilize the features of FreeNAS why are you using it? Use some other NAS appliance (NAS4FREE, OpenMediaVault, etc) FreeNAS is obviously too much for your machine to handle.

Features of FreeNAS can be summarized as; A friendly and useful UI that exposes the unique flexibility offered by the FreeBSD core.

ZFS is not a feature of FreeNAS, ZFS management UI is a feature of FreeNAS...more importantly disk management UI is a feature of FreeNAS. Because FreeNAS versions less than 8.3 support UFS JBOD I think that it was either forgotten or not many people need it.

As to why I wanted UFS JBOD in the first place; the system has 4GB RAM, apparently according to cyberjock in another thread, autotune is for 16GB+...this wasn't the history that I remember so I'm going to go ahead and disable that to see what happens. I decided to dig down anyway and since I can read scripts and reverse engineer databases...I really don't understand how that's hacky? If I do what IX devs would do, how is that hacky?

It's obvious that they use the DB in the script. Looking at the script, the db structure is straight forward....it's well designed and easy to modify as needed. Anyway, thanks for the info on the DB...I usually need help on the non-FreeBSD part of FreeNAS.

Thank you,
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
8.2 supported JBOD?

I dont remember seeing that since the Old FreeNAS .7 (now known as NAS4FREE)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Yeah, I don't think FreeNAS has supported UFS JBOD since it was "reimagined".
 

doverosx

Dabbler
Joined
Jan 4, 2013
Messages
33
Yeah, I don't think FreeNAS has supported UFS JBOD since it was "reimagined".

True...just checked all of my old Beta notes. I might just do the work and work with someone that has commit access. I think it is a good idea to maximize the flexibility that FreeNAS can offer.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
True...just checked all of my old Beta notes. I might just do the work and work with someone that has commit access. I think it is a good idea to maximize the flexibility that FreeNAS can offer.

Just fork it in github and implemented it. Just be careful and do a good job if you decide to do so because the developers are picky at pull requests ;)
 
Status
Not open for further replies.
Top