"share" dataset between two jails

Status
Not open for further replies.

jat255

Dabbler
Joined
Dec 31, 2013
Messages
11
and as someone previously said, u are a genious!
Actually my problem was how to have shell access in the jails!
ok, now i'll try again!

EDIT:
actually it still says "missing name for redirect"....


are you actually typing in "<id>"? If so, you need to replace that whole part with the id number of your media group. Mine is 1003, but yours will likely be something different. I believe from the main FreeNAS shell, if you type cat /etc/group, you should get a listing of all the groups, and their ID numbers
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
are you actually typing in "<id>"? If so, you need to replace that whole part with the id number of your media group. Mine is 1003, but yours will likely be something different. I believe from the main FreeNAS shell, if you type cat /etc/group, you should get a listing of all the groups, and their ID numbers


i'm typing 1004...the group id number
 

anika200

Contributor
Joined
Mar 18, 2013
Messages
113
and as someone previously said, u are a genious!
Actually my problem was how to have shell access in the jails!
ok, now i'll try again!

EDIT:
actually it still says "missing name for redirect"....

Really, I don't get a genius grant :(. I would highly recommend reading the guide/manual for FreeNAS. It clearly states how to create and log into a jail and other important things.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Really, I don't get a genius grant :(. I would highly recommend reading the guide/manual for FreeNAS. It clearly states how to create and log into a jail and other important things.

well if u are able to help me to solve the problem i'll be more than thankful to you too... i'm just tring to follow the steps DUSAN wrote, and MARIAN78 followed successfully, but for me doesn't seem to work and i was just wondering why
 

jat255

Dabbler
Joined
Dec 31, 2013
Messages
11
i'm typing 1004...the group id number
Hmm, usually the 'missing name for redirect' error is because you told the shell to redirect output (with the > operator), but didn't give it a place to redirect to. Are you sure you're not using the '<' and '>' characters?
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Hmm, usually the 'missing name for redirect' error is because you told the shell to redirect output (with the > operator), but didn't give it a place to redirect to. Are you sure you're not using the '<' and '>' characters?


mmm...yes... :( i didn't understand i had to write the id without "<>"
now it works perfectly, thanks again!
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Really, I don't get a genius grant :(. I would highly recommend reading the guide/manual for FreeNAS. It clearly states how to create and log into a jail and other important things.
Agree, there's nothing "genius" about the instructions here. It's the most basic Unix shell stuff. @enemy85 you can reach the same "genius" level by reading some Unix shell basics tutorial (a quick google search found these: http://www.ee.surrey.ac.uk/Teaching/Unix/, http://www.tutorialspoint.com/unix/). After you understand the main concepts you can find everything else you need in the FreeBSD man pages: http://www.freebsd.org/cgi/man.cgi
And as anika200 said, the FreeNAS manual is a great source of information too.

Blindly running commands you found on the net without really understanding the basics can be dangerous. You can easily break things -- especially when you run the commands as root.
 

anika200

Contributor
Joined
Mar 18, 2013
Messages
113
Agree, there's nothing "genius" about the instructions here. It's the most basic Unix shell stuff. @enemy85 you can reach the same "genius" level by reading some Unix shell basics tutorial (a quick google search found these: http://www.ee.surrey.ac.uk/Teaching/Unix/, http://www.tutorialspoint.com/unix/unix-file-management.htm). After you understand the main concepts you can find everything else you need in the FreeBSD man pages: http://www.freebsd.org/cgi/man.cgi
And as anika200 said, the FreeNAS manual is a great source of information too.

Blindly running commands you found on the net without really understanding the basics can be dangerous. You can easily break things -- especially when you run the commands as root.

Great reply Dunsan, I would like to add that if everyone would try to paste commands with the code tags then someone can just copy/paste and there would be less error.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Agree, there's nothing "genius" about the instructions here. It's the most basic Unix shell stuff. @enemy85 you can reach the same "genius" level by reading some Unix shell basics tutorial (a quick google search found these: http://www.ee.surrey.ac.uk/Teaching/Unix/, http://www.tutorialspoint.com/unix/). After you understand the main concepts you can find everything else you need in the FreeBSD man pages: http://www.freebsd.org/cgi/man.cgi
And as anika200 said, the FreeNAS manual is a great source of information too.

Blindly running commands you found on the net without really understanding the basics can be dangerous. You can easily break things -- especially when you run the commands as root.


thank you for the links, i'll give a read. Unfortunately even if I always wanted to approach UNIX world, I've never had enough time to dedicate to it, until I discovered FreeNas and started to read about it. (I already read more than once the manual and had a look to FreeBSD manual pages too, but as u already know it's not that easy to search for commands to understand how do they work, if u don't know at all the names!)

Fortunately I'm still in the learning phase and my NAS is for now just another backup, so just a way to try things, plugins and so on, without any worries for making damages.
 
Status
Not open for further replies.
Top