Determine if a disk or partition is ready for use by MapR
About this task
Any disk or partition that passes the following testing procedure can be added to the
list of disks and partitions passed to the disksetup
command.
- Run the command
to determine whether any processes are already using the disk or partition.sudo lsof <partition>
- There should be no output when running
, indicating there is no process accessing the specific disk or partition.sudo fuser <partition>
- The disk or partition should not be mounted, as checked via the output of the
command. If the disk or partition is mounted, unmount it using themount
command.umount
- The disk or partition should not have an entry in the
file; comment out or delete any such entries./etc/fstab
- The disk or partition should be accessible to standard Linux tools such as
. You should be able to successfully format the partition using a command likemkfs
as this is similar to the operations MapR performs during installation. Ifsudo mkfs.ext3 <partition>
fails to access and format the partition, then it is highly likely MapR will encounter the same problem.mkfs