Shigo_Naito Posted June 29, 2015 Share Posted June 29, 2015 Hello, Got a quick questions about adding a local unattached hard drive to Unraid 6. I have a plugin already that makes it so I can mount unattached drives in the GUI. But I am unsure if Unraid has an easy way to format a drive that is not attached to the array? My Linux knowledge is a little Noobish and any help would be great. Thank you for any help Link to comment
dgaschk Posted June 29, 2015 Share Posted June 29, 2015 See here: http://lime-technology.com/forum/index.php?topic=38635.0 Link to comment
Shigo_Naito Posted June 30, 2015 Author Share Posted June 30, 2015 Thank you for the link, I am using the plugin and it looks great. The issue I have is that I have searched for a way in Linux to format a drive and there are many. Does Unraid have a pre install app to format the drive or is there a recommended way so the permissions are correct? Thanks Link to comment
itimpi Posted June 30, 2015 Share Posted June 30, 2015 Thank you for the link, I am using the plugin and it looks great. The issue I have is that I have searched for a way in Linux to format a drive and there are many. Does Unraid have a pre install app to format the drive or is there a recommended way so the permissions are correct? When running from the command line (i.e. in a telnet/console/ssh session) drives are normally formatted in Linux using the 'mkfs' command. By default you can add .format to the name to specify the format wanted. You also need to add the partition to the device name. e.g. mkfs.xfs /dev/sdf1 Would format the first partition on the disk on device /dev/sdf in XFS format using default settings. If the disk is not already partitioned then you would use the gdisk command to partition it. e.g. gdisk /dev/sdf to partition the disk attached as device /dev/sdf and follow the onscreen prompts to know what to do. I used gdisk as that can handle disks larger than 2TB whereas the older fdisk command was limited to 2TB and also did not understand GPT style partitioning. Link to comment
Shigo_Naito Posted June 30, 2015 Author Share Posted June 30, 2015 Wonderful Thank you vary much Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.