1760015 Members
3006 Online
108889 Solutions
New Discussion юеВ

Create new filesystem

 
Hkandati
Occasional Advisor

Create new filesystem

Hi

I want to create a new filesystem as /r34/data in hp box of version 11.please give the steps required to create the filesystem

Thanks
Hari
4 REPLIES 4
Pupil_1
Trusted Contributor

Re: Create new filesystem

use the answers for ur previous query posted about month back !

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1167001

Once U've filesystem created with newfs,use the mount command

mount -F vxfs /dev// /r34/data
There is always something new to learn everyday !!
whiteknight
Honored Contributor

Re: Create new filesystem


Hari,

here is the steps
example:

1) lvcreate -L /dev/vg
-> it will tell you the lvol has been created

2) newfs -F vxfs /dev/vg/rlvol

3) mount /dev/vgXX/lvol /r34/data

Done.

WK
Problem never ends, you must know how to fix it
whiteknight
Honored Contributor

Re: Create new filesystem


Hari,

here is the steps
example:

1) lvcreate -L /dev/vg
-> it will tell you the lvol has been created

2) newfs -F vxfs /dev/vg/rlvol

3) mount /dev/vg/lvol /r34/data

Done.

WK
Problem never ends, you must know how to fix it
Avinash Agarkar
Valued Contributor

Re: Create new filesystem

Hi,

The simple steps are -

Detect the disk with

ioscan -fnCdisk

Identify the new disk then

pvcreate -f /dev/dsk/cxtxdx

Then create a new directory

mkdir /dev/r34

Then check the group file

check the group file
ll /dev/*/group

cd /dev/r34

create the new group files
mknod group c 64 [major and minor no ]

check weather the group file is created or not
ll

vgcreate /dev/r34 /new disk

then check with vgdisplay

then create the new logical volume with

lvcreate -L size -n data /dev/r34

create new mount point
mkdir new mount point name

create new file system on the mount point
newfs -F vxfs -o largefiles /dev/vgname/r[new mount point name]

Then mount it with

mount /dev/vgname/lvname /mount point name

Add the entry in fstab so in future if you reboot the server the mount point will be automatically mounted.

Thanks,
Avinash




Great Power Comes With Great Responsibility