Unix Technical Forum

plz help

This is a discussion on plz help within the AIX Operating System forums, part of the Unix Operating Systems category; --> HI Group!! Im rather new to AIX... Plz let me know if there is any basic difference between mkfs ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 06:29 AM
Ashutosh
 
Posts: n/a
Default plz help

HI Group!!
Im rather new to AIX...
Plz let me know if there is any basic difference between mkfs & crfs...
Are they two different commands to do the same thing or is there any
criteria to decide when to use any of these commands...
Thanks in advance...
Regards,
Ashutosh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:29 AM
Andreas Schulze
 
Posts: n/a
Default Re: plz help

"Ashutosh" <hiashutosh@gmail.com> schrieb im Newsbeitrag
news:1104904203.359535.324540@z14g2000cwz.googlegr oups.com...
> HI Group!!
> Im rather new to AIX...
> Plz let me know if there is any basic difference between mkfs & crfs...
> Are they two different commands to do the same thing or is there any
> criteria to decide when to use any of these commands...
> Thanks in advance...
> Regards,
> Ashutosh
>

crfs needs lv being created already. crfs is better whenever you need/want
to control where fs shall be placed. man mksfs, man crfs, man mklv.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 06:29 AM
Ashutosh
 
Posts: n/a
Default Re: plz help

HI Andreas!!
Thanks a lot for your response..
But according to man crfs,
1.)A new logical volume is created for the file system unless the name
of an existing logical volume is specified using the -d.
2.) Mount point can be controlled both in mkfs & crfs....
Plz let me know your views on this...
Thanks,
Ashutosh


Andreas Schulze wrote:
> "Ashutosh" <hiashutosh@gmail.com> schrieb im Newsbeitrag
> news:1104904203.359535.324540@z14g2000cwz.googlegr oups.com...
> > HI Group!!
> > Im rather new to AIX...
> > Plz let me know if there is any basic difference between mkfs &

crfs...
> > Are they two different commands to do the same thing or is there

any
> > criteria to decide when to use any of these commands...
> > Thanks in advance...
> > Regards,
> > Ashutosh
> >

> crfs needs lv being created already. crfs is better whenever you

need/want
> to control where fs shall be placed. man mksfs, man crfs, man mklv.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 06:29 AM
Andreas Schulze
 
Posts: n/a
Default Re: plz help

> Andreas Schulze wrote:
> > "Ashutosh" <hiashutosh@gmail.com> schrieb im Newsbeitrag
> > news:1104904203.359535.324540@z14g2000cwz.googlegr oups.com...
> > > HI Group!!
> > > Im rather new to AIX...
> > > Plz let me know if there is any basic difference between mkfs &

> crfs...
> > > Are they two different commands to do the same thing or is there

> any
> > > criteria to decide when to use any of these commands...
> > > Thanks in advance...
> > > Regards,
> > > Ashutosh
> > >

> > crfs needs lv being created already. crfs is better whenever you

> need/want
> > to control where fs shall be placed. man mksfs, man crfs, man mklv.

>

"Ashutosh" <hiashutosh@gmail.com> schrieb im Newsbeitrag
news:1104920954.078768.300270@c13g2000cwb.googlegr oups.com...
> HI Andreas!!
> Thanks a lot for your response..
> But according to man crfs,
> 1.)A new logical volume is created for the file system unless the name
> of an existing logical volume is specified using the -d.
> 2.) Mount point can be controlled both in mkfs & crfs....
> Plz let me know your views on this...
> Thanks,
> Ashutosh
>


Hallo Ashutosh,

Your focus should not be on the mountpoint because this is of almost no
interest in this comparison. crfs will create an lv if none exists but mkfs
(opposed to crfs) cannot use an lv if it exists. The difference will play a
role when you want to use a dedicatet area on your physical disk for your
filesystem.
E.g. you have an fs that is rarely used and thus shall occupy pp in inner
edge area only ( because all the "high speed" areas center and middle are
either being used or reserved). Then you would create the lv first because
only then you can tell LVM which hdisk area to use. (You could even use a
map file to specify distinct pp). Next you would use crfs to create your fs
there. This cannot be achieved with mkfs.

Having said that I shall like to add that the same is true for extending an
fs. If you use chfs -asize=... the lvm will take just any free pp it can
find (within certain limits). If you want to be in charge of which pp to use
(sure you want to because you are admin) you'd use extendlv first and extend
the fs accordingly afterwards.

HTH,
Andreas

A: Because doing so makes the conversation harder to read.
Q: Why should I not top-post?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 06:30 AM
Ashutosh
 
Posts: n/a
Default Re: plz help

HI Andreas!!
Thanx a lot for ur feedback..
I think I have a clear picture of both commands in my mind now....
I completely understand, why you did not top-post..
I will definitely try to get in touch with you if I face any issue...
Warm Regards,
Take Care,
Ashu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com