Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm just starting to use solaris, being the majority of the course I am in. I am having troubles understanding the manuals that Sun provides; from what I've read I should beable to create an NFS share with this command line: mkfs -F nfs /dev/dsk/c1t1d0s0
c1t1d0s0 being a second disk with a slice I created of 1GB
now I'm probly being and idiot trying to do it this way, but its the way the documentation looks like ot me.
but upon trying that it says I am unable to do so - so I changed the 'nfs' to 'ufs' and it gives me a more suitible error that tells me that I've not specified the size. But reading the man pages it seems I should beable to just create an nfs file system.
in the end what I'd like to achive is: creating a loopback mount of an nfs share and use cashefs to mount the share.
how my instructor comes up with assignments like this is beyond me.
I'm not looking for someone to me the whole commandline/s needed to do this; just some help understanding how to get damn v240 to do what I'd like it to
if it makes any differance there are four <SUN36G cyl 24620 alt 2 hd 27 sec 107> hard disks installed on the sunfire v240.
thanks for any help mates.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
NFS purpose being to allow access of an existing remote filesystem, mkfs just doesn't make sense in that case.
For local filesystem, there is a more friendly command, newfs, which doesn't ask you for the size and other options.
Finally, there is now ZFS which is strongly changing and simplifying all filesystem handling.
I believe you mistype that: there is no such thing as cashefs, there is cachefs though.
CD-ROM and UFS-Floppies are local filesystems.
What does that means ? create a directory on a UFS filesystem ? or something different ?
Is it really what your assignement is about ? i.e. is the share local or remote ?
cashefs = cashing filesystem, sorry if my grammer isn't doing that great; 3 hours quizes have that effect.
I know cdrom and floppies are local; however this is a requirment for the assignment. So I assume we need to share them to gain access
and I ment the process of mounnting...
mkdir /mountpoint
mount /dev/dsk/c*.... /mountpoint
and you're asking what its about?
I told you verbatum the assignment criteria minus the marking scheme.
I beleave we're both miscommunicting.
I know I'm describing the CDROM and Floppy as remote because they are on a partner's machine; I am required to access it VIA casheFS, which would mean they would have to be somehow shared.
but atleast I have a lead on what parts to read in the documentation though
thanks
I now understand why you described CD-ROM and UFS-Floppies as remote, that make sense now.
I'm however still perplexed by you still mistyping "cashefs" for cachefs, after I commented twice about it ...
dislexia?
deprivation of rest?
I didn't notice?
not that thats cleared
to this so far what I understand I need to do is:
create a mountpoint for each of the file systems.
partition a slice if needed
newfs the slice to the desired filesystem
mount the slice
share the mount with nfs
create a mount for the cachefs
mount the nfs with cachefs
I would explain if I knew what I was doing
I came here hoping someone could help me figure out what I'm doing wrong and point in the right direction.
we're getting there slowly though.
so lets see
appently I am still very confused - damn thought I had it this time
so...
Now that my instructor has had a change of heart after realizing he's not be doing a good job,
we've had more of a breakdown on what to do for these labs
now
I am creating an nfs share, that has cachefs accessing it
then I am supposed to create a lofs of orignal nfs share.
now to do that I need to...( I am hoping this works)
ok it seems everything is working now
thanks mate.
hope I didn't confuse you to to much
[edit]
leave it to murphy to mess a good thing up
my partner cannot access his floppydisk
and I've not a floppy drive..
Last edited by Shinigami-Sama; 10-26-2006 at 05:12 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.