Operating System - HP-UX
1833287 Members
3118 Online
110051 Solutions
New Discussion

Problem about file system creatation

 
mudongxiao
Advisor

Problem about file system creatation

I created the vg03, /dev/vg03/lvol1 successfully.
Then I create the file system
newfd -F vxfs /dev/vg03/lv0l1
I got the error message
newfs (vxfs): /dev/vg03/lvol1 is not a character decice

What's the problem right now?
Thanks
5 REPLIES 5
Rick Garland
Honored Contributor

Re: Problem about file system creatation

Use
newfs /dev/vg03/rlvol1

Note the 'r' character in from of the lvol1
Mel Burslan
Honored Contributor

Re: Problem about file system creatation

creating/initializing new filesystems require use of raw device files, i.e. rlvol not lvol.

so your command should look like this :

newfs -F vxfs /dev/vg03/rlvol1

and if you are planning to store files of sizes larger than 2GB, specifying "-o largefiles" option will also be necessary

Hope this helps
________________________________
UNIX because I majored in cryptology...
mudongxiao
Advisor

Re: Problem about file system creatation

It's working, Thank you
MarkSyder
Honored Contributor

Re: Problem about file system creatation

As it's working I think the people who helped you would appreciate being given some points.
The triumph of evil requires only that good men do nothing
Manoj_36
Advisor

Re: Problem about file system creatation

Hi,
To create the file system on any logical volume we have to use the raw device file for that logical volume so in place of using /dev/vg03/lvol1 you should use newfs -F vxfs /dev/vg03/rlvol1 .

Regards.
Manoj