LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 10-24-2006, 07:57 PM   #1
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Rep: Reputation: 15
Creating and mount FileSystems - SPARC 10 6/06


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.
 
Old 10-25-2006, 12:40 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
Old 10-25-2006, 12:42 AM   #3
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
this is what I was assumeing but the documention just isn't any help to poor SOBs like myself with little *nix experiance.

so my second Idea was correct?
create a new FS
then loop it into the NFS mountpoint?
if so I beleave I can handle from there
 
Old 10-25-2006, 03:02 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I don't know what you have been asked to do, but your second idea still make no sense to me.
 
Old 10-25-2006, 04:33 PM   #5
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
heh sorry about that; to much on my plate at the moment

what I'm trying to acomplish word for word from my assignment sheet:
Create a loopback mount of an NFS share and use CASHEFS to mount this share


this is the most complicated part of this assignment; the others being use cashe FS to access remote filesystems(CDROM,NFS,UFS-Floppy).

and my second post

create a directory for a UFS filesystem
use the SHARE command to enable NFS
then mount it with cashefs


sorry for any confusion
 
Old 10-26-2006, 12:02 AM   #6
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Rep: Reputation: 31
Zfs?

excuse me, what is ZFS
 
Old 10-26-2006, 12:08 AM   #7
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
http://docs.sun.com/app/docs/doc/819-5461
its solaris's new filesystem
I've not gotten that part of the course yet
 
Old 10-26-2006, 01:04 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Shinigami-Sama
heh sorry about that; to much on my plate at the moment

what I'm trying to acomplish word for word from my assignment sheet:
Create a loopback mount of an NFS share and use CASHEFS to mount this share
I believe you mistype that: there is no such thing as cashefs, there is cachefs though.
Quote:
this is the most complicated part of this assignment; the others being use cashe FS to access remote filesystems(CDROM,NFS,UFS-Floppy).
CD-ROM and UFS-Floppies are local filesystems.
Quote:
and my second post

create a directory for a UFS filesystem
What does that means ? create a directory on a UFS filesystem ? or something different ?
Quote:
use the SHARE command to enable NFS
Is it really what your assignement is about ? i.e. is the share local or remote ?
 
Old 10-26-2006, 01:09 AM   #9
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
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.
 
Old 10-26-2006, 01:29 AM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Shinigami-Sama
cashefs = cashing filesystem, sorry if my grammer isn't doing that great; 3 hours quizes have that effect.
Nope, cachefs=cacheing filesystem, and it isn't about grammar, but spelling.

Quote:
I know cdrom and floppies are local
But you described them as remote.
Quote:
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 believe you are misunderstanding the assignement.

You should have a look at the mount_cachefs manual page and the System Administration Guide "Basic Administration" manual.
 
Old 10-26-2006, 10:48 AM   #11
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 10-26-2006, 12:17 PM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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 ...
 
Old 10-26-2006, 01:02 PM   #13
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
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

does this sound about right to you?
 
Old 10-26-2006, 01:56 PM   #14
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Shinigami-Sama
dislexia?
That should be dyslexia
Quote:
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.
ok, you should enumerate them.
Quote:
partition a slice if needed
For UFS on Hard-Disks
Quote:
newfs the slice to the desired filesystem
For UFS only.
Quote:
mount the slice
Okay, so you choose the UFS slice.
Quote:
share the mount with nfs
You do not share a mount, you share a directory. Sharing doesn't extend outside this directory filesystem.
Quote:
create a mount for the cachefs
This is unclear. Explain what you want to do here.
Quote:
mount the nfs with cachefs
Same as the above.
 
Old 10-26-2006, 04:35 PM   #15
Shinigami-Sama
LQ Newbie
 
Registered: Aug 2005
Location: Canada, BC - Burnaby(Vancouver)
Distribution: solaris 10 SPARC
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
mounting, partitioning



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Creating and managing filesystems with Expert Partitioner LXer Syndicated Linux News 0 01-19-2006 01:31 PM
about creating an sparc install server with cd media... jsnch Solaris / OpenSolaris 1 06-22-2005 04:09 AM
Can't mount ufs filesystems ratman96 Linux - General 2 05-04-2005 12:34 PM
Filesystems don't mount after instalation mullog *BSD 8 07-18-2004 04:57 PM
mount filesystems from hda1 and hda2 jhirshon Linux - Newbie 3 01-29-2004 12:05 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration