1753321 Members
6356 Online
108792 Solutions
New Discussion юеВ

Mounting Filesystem

 
SOLVED
Go to solution
Rafael Casero
Regular Advisor

Mounting Filesystem

I have a 100 gig disk presented to me for the SAN.

I did the following steps: I still can not mount it please advise what I'm doing wrong.

mkdir /od/dg01
mkdir /dev/vg01
ioscan -fnC disk
pvcreate /dev/rdsk/c14t0d0
vgcreate vg01 /dev/dsk/c14t0d0
mknod /dev/vg01/group c 64 0x010000
lvcreate -L 100000 -n dg01 vg01

miaux10: / =>mount /dev/vg01/dg01 /od/dg01
/dev/vg01/dg01: unrecognized file system

Please help....


11 REPLIES 11
Geoff Wild
Honored Contributor
Solution

Re: Mounting Filesystem

Well - you need to mknod before the vgcreate and you need to newfs the lvol


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rafael Casero
Regular Advisor

Re: Mounting Filesystem

I did I just put it in the wrong order.

sorry...



Rafael Casero
Regular Advisor

Re: Mounting Filesystem

Can you please give the proper syntax for

newfs

Thanks
James R. Ferguson
Acclaimed Contributor

Re: Mounting Filesystem

Hi Rafael:

The manpages for 'newfs' will direct you, but:

# newfs -F vxfs /dev/vg01/dg01

This will create a JFS (VxFS) filesystem whose size is equal to the logical volume container size.

Regards!

...JRF...

Rafael Casero
Regular Advisor

Re: Mounting Filesystem

For some reason is not working for me


miaux10: / =>newfs -F vxfs /dev/vg01/dg01
UX:vxfs newfs: ERROR: V-3-21623: /dev/vg01/dg01 is not a character device
James R. Ferguson
Acclaimed Contributor

Re: Mounting Filesystem

Hi Rafael:

Oops! I meant to specify the *raw* (character) device:

# newfs -F vxfs /dev/vg01/rdg01

Regards!

...JRF...


Bill Hassell
Honored Contributor

Re: Mounting Filesystem

You must use the character (raw) device file when creating a new filesystem. The raw device file has the letter 'r' in front. So the synat would be:

newfs -F vxfs /dev/vg01/rdg01

If you list the volume group directory, lvcreate will create a pair of device files with different major numbers (raw and cooked).


Bill Hassell, sysadmin
Rafael Casero
Regular Advisor

Re: Mounting Filesystem

You guy's are the best...

That did it.

Thanks, guy's this is my first time doing this, our Unix admin just got up and left so I offered to take the position.

So I'm pulling my hairs.
;-)
Rafael Casero
Regular Advisor

Re: Mounting Filesystem

Thanks,AGAIN....