Cannot open files from FreeNAS drive in Ubuntu

Status
Not open for further replies.

Rocky1822

Cadet
Joined
Mar 4, 2015
Messages
7
Hey everyone, I've just started using freenas since last week, and I must say, it is a great product!

My setup is a small 20 GB hard disk as the primary and a bigger hard disk as a slave
I have freenas installed on a usb stick, and have set it as the primary boot device

If I boot into the primary hard disk, I can go into ubuntu, but the bigger hard disk is not showing up under file manager...
What should I do to be able to browse the files on that hard disk?

BTW, i'm running ZFS on freenas
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Sorry, but your question is nonsensical. You can't boot from an OS and "go into ubuntu". You're in an OS, you can't go "into another OS".

Can you explain what you are trying to say more clearly? Maybe even read the forum rules and include the information request when creating a thread?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
sounds to me like the OP is trying to dual boot his freenas box, which is completely ridiculous.
 

Rocky1822

Cadet
Joined
Mar 4, 2015
Messages
7
hmm no guys, you got my question wrong...

I have freenas on a usb stick, which has first boot priority, and If I want to go to ubuntu, I choose to boot from hard disk on the boot menu during system startup

I have my NAS files on the secondary hard disk ONLY...
so the primary hasn't been formatted, and so still can be booted into

so now, when I go into ubuntu, i cant see the second hard disk which runs zfs
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
hmm no guys, you got my question wrong...

I have freenas on a usb stick, which has first boot priority, and If I want to go to ubuntu, I choose to boot from hard disk on the boot menu during system startup
That's exactly what I said. You are trying to treat it as a dual boot system. That is not the purpose of Freenas, and furthermore, your issue is not one of freenas, but that Ubuntu cannot see zfs drives by default. You need to add support for zfs on Ubuntu to see the data, but that is outside the scope of this forum.

A. This isn't a freenas issue.
B. You shouldn't attempt to make freenas server a dual boot system, that defeats the entire purpose of a nas.
 

Rocky1822

Cadet
Joined
Mar 4, 2015
Messages
7
I am very new to freenas, and still experimenting on things, so sorry if this sounded wrong to you...

primary hard disk- Ubuntu
secondary hard disk- FreeNAS files (this is the only drive used by freenas)
USB stick- FreeNAS OS

Boot Priority:
1->USB
2->HDD

why is this a problem?
I never touched the drives used by freenas?

EDIT: plus, as I stated before, i'm still experimenting with it, and not running it full time
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
It's the same problem as installing a Windows server in dual boot on a Linux based webserver for example. At best, it's not a good idea...

What's the purpose of all of this anyway?
 

Rocky1822

Cadet
Joined
Mar 4, 2015
Messages
7
as I stated in the first post, the thing is, I''m still experimenting on freenas, and hence havent removed ubuntu yet..
But I cant see the secondary hard disk on ubuntu

@pirateghost stated that I need to install zfs support to ubuntu...
Any place where I can start?

Thank you :)
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Your drive is formatted with ZFS....if you want ZFS on Ubuntu, you need to go use your favorite search engine and discover the links for yourself. We don't support Ubuntu here, since this is the FREENAS forums.

You still don't seem to understand how bad of an idea this is though. You should not be attempting to access the drive with Ubuntu.

It would appear you are confused on what a NAS is and the intended use is not for a dual boot system.
 

Rocky1822

Cadet
Joined
Mar 4, 2015
Messages
7
thank you everyone for your valuable suggestions! :)

@pirateghost , I'm still experimenting with this one, so I'll need to have ubuntu until I'm confident with what I'm doing
I'll search the ubuntu forums as you suggested :)

Have a good day folks ;)
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
If you have already formatted the drive with ZFS, you are already in. What do you need to be confident with? I don't understand what you feel the need to switch back and forth for.
 

Rocky1822

Cadet
Joined
Mar 4, 2015
Messages
7
If you have already formatted the drive with ZFS, you are already in. What do you need to be confident with? I don't understand what you feel the need to switch back and forth for.

Well, I'm running FreeNAS 9.2.1.5 on a 32 bit system, having a 1.8GHz Pentium 4 processor and 2GB of RAM
If I'm confident it'll run fine under ZFS (without any problems) after using it for a month or two, I'll remove Ubuntu from it
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I'll save you the trouble. It won't. You have 1/4 of the minimum required RAM, your CPU is inadequate, and ZFS on FreeNAS really calls for a 64-bit system. Consult the hardware recommendations thread in the hardware subforum for more information.

Trying to dual-boot a NAS rather defeats the purpose of a NAS. A NAS is intended to run 24x7 and serve files, which it obviously can't do if you've rebooted it into a different OS.

As to trying to read the data disk under Ubuntu, as others have said, you'll need to install ZFS support. ZFS is available for Ubuntu (a web search for "zfs ubunutu" will find quite a bit of information), but it may or may not be able to read your FreeNAS volume. Modern versions of OpenZFS are distinguished by their support for various "feature flags". If a flag that FreeNAS uses isn't supported by the ZFS build that's available for Ubuntu, you'll probably be unable to read your pool.
 
Status
Not open for further replies.
Top