You can create a file system on a LUN using SnapDrive for UNIX. SnapDrive for UNIX automatically create the associated LUN.
# snapdrive storage create -fs /mnt/acct1 -filervol acctfiler:/vol/vol1 -lunsize 100m -nolvm
Creating a file system on a raw LUN without any volume manager:
# snapdrive storage create -fs /mnt/vxfs2 -fstype vxfs -lun snoopy:/vol/vol1/lunVxvm2 -lunsize 50m -nolvm LUN snoopy:/vol/vol1/lunVxvm2 ... created mapping new lun(s) ... done discovering new lun(s) ... done LUN to device file mappings: - snoopy:/vol/vol1/lunVxvm2 => /dev/vx/dmp/Disk_1 file system /mnt/vxfs2 created
# snapdrive storage create -fs /mnt/fs -fstype ext3 -lun lech:/vol/vol_1/lun1 -lunsize 50m -nolvm LUN lech:/vol/vol1/lun1 ... created exporting new lun(s) to Guest OS ... done discovering new lun(s) ... done LUN to device file mappings: - lech:/vol/vol1/lun1 => /dev/sdb file system /mnt/fs created