Converting RAW Disks to Filesystem

Hi,

We have a new server which has 2.7 TB RAW Disk.Outof this we want to convery 1.2 TB to filesystem and nfs mount it on one of the servers.
After our activity we need to convert this back to RAW Disks.

Please let me know if this is possible and the complexity involved.

Regards,
VN

If it's one physical disk, then your options are limited.

You can do pvcreate on it, put it into LVM and make a logical volume then filesystem sized 1.2 TB, mount and export it via NFS.

Remaning space will be left in your volume group.
You will be able to create additional logical volumes, but you won't be able to use rest for other purpose.

After you are finished, you will do vgremove of that volume group and then pvremove of that disk to return to initial state.