1833796 Members
4992 Online
110063 Solutions
New Discussion

format a mount point

 
Shehan
Super Advisor

format a mount point

Hi All
I have already created mount point(/stg/stg01) in a EVA8K. Now I need to fully format particular partition.So please let me know the command to format this. My file system is VxFS & size is 2TB.

Regards
Nirukshitha


5 REPLIES 5
Jeeshan
Honored Contributor

Re: format a mount point

Hi

you can run this coomand to format partition

#newfs -F vxfs -o largefiles /dev//r



a warrior never quits
Matti_Kurkela
Honored Contributor

Re: format a mount point

In Unix world, preparing the media and creating the file system are separate tasks. In MS-Windows, these tasks are often lumped together and the entire procedure is called "formatting". The use of this term in Unix world is likely to cause confusion.

So please be more specific: do you want to
- prepare a physical disk for use?
- just create a new filesystem for a new logical volume?
- or maybe destroy the old data on a particular disk/logical volume?

The actual low-level formatting (mediainit) is very rarely needed with modern disks. Don't use the "mediainit" command if there is no specific need to do so.

To prepare a disk for use in HP-UX, you should use pvcreate to set it up for LVM use, then vgcreate/vgextend and lvcreate to create a new logical volume of necessary size. Then you can use the mkfs command to create a filesystem on the new logical volume. After this, you can mount the new LV to the desired mountpoint.

MK
MK
Shehan
Super Advisor

Re: format a mount point

I already use mentioned command below.

#newfs -F vxfs -o largefiles /dev//r

Then I believe we don't need to fully format it again. Is it ?

Regards
Nirukshitha
David Bellamy
Respected Contributor

Re: format a mount point

that is correct you just need to mount it on the lvol
Shehan
Super Advisor

Re: format a mount point

No need to fully format the mount point again.