1753501 Members
4722 Online
108794 Solutions
New Discussion юеВ

new file system creation

 
SOLVED
Go to solution
KCS_1
Respected Contributor

new file system creation

hi,

I am wonering that when i am creation new file system by using LVM every time, why i have to do specify under like that

# newfs -F vxfs /dev/vgXX/rlvol

alway,use charcter device file (rlvol)instead of block device file. why ??

please tell me more about..

thanks..
Easy going at all.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor
Solution

Re: new file system creation

Hi,

With lvcreate, you first create a volume. With newfs, you lay filesystem structures on it so that you can create files and directories on it. The type of filesystem is dependent on the string "-F vxfs". It could be "hfs" if you intend to use hfs filesystem.

lvol is used to access the filesystem and rlvol represents the raw device. You will need to use the raw device to create the the filesystem structures.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Steele_2
Honored Contributor

Re: new file system creation

Raw indicates a binary format.

There are three layers involved between the O/S and the data that resides on disks. The disk itself, LVM and the file system structure. During initial configuration of both LVM and the file system structure the raw device is used.
Support Fatherhood - Stop Family Law
John Poff
Honored Contributor

Re: new file system creation

Hi Patrick,

Good question. Here is a thread that explains it pretty well:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x222631ec5e34d711abdc0090277a778c,00.html

JP