This feature is supported from Eunhasu V0.6.6.
This page manages the disks connected to your Eunhasu device. You can initialize disks, create and delete partitions, format, mount, and configure LVM.
Disk information can be viewed on all models (sMS-200, sMS-200ultra, sMS-500, sMS-1000SQ, sMS-2000), but adding a disk is only possible on the sMS-1000SQ and sMS-2000.
Overview
You can add a disk to the network player to increase storage space for music files, or replace the disk you are using. A new disk cannot be used just by connecting it; you must create a partition, format it, and mount it to a folder. The Disk config page lets you do all of this on screen without entering any commands, and also supports LVM, which combines multiple disks into a single storage space.
Terms
A USB disk is mounted automatically when connected and can be used right away. Use the functions below when initializing a USB disk, creating a new partition, or before disconnecting it.
Clicking Manage on a USB disk shows the following menu.
The screen above shows a case where a partition uses the entire disk. Because there is no space to create a new partition, “No free space to add a partition.” is shown and the Add partition button does not appear. For an empty disk or a disk with free space, the Add partition button is shown (see 'Creating a Partition' below).
In the USB disk's Manage menu, click Initialize disk. All partitions and data on the disk are deleted.
Select the partition table format and click Next.
On the confirmation screen, check the target disk and the partitions to be deleted (Partitions to erase), then click Yes, erase everything. Deleted data cannot be recovered.
When initialization is complete, the disk shows No partition.
In the USB disk's Manage menu, click Add partition.
Under the usage type, select File system and click Next. A USB disk can be disconnected and reconnected at any time. If it is used as a PV (LVM), the entire Volume group becomes unusable when it is disconnected, so use it as a File system.
Select the file system type to format with and click Next. ext4 is generally selected.
Enter the partition name and size, then click Next.
On the confirmation screen, check the details and click Confirm. When complete, the partition shows the selected file system (e.g., Linux EXT4) and is mounted automatically to the /music/USB/(disk name) folder. If the screen does not change after the operation finishes, refresh the page (F5).
Before disconnecting a USB disk, always click Safely Remove in the disk's Manage menu. Disconnecting the USB cable while the disk is mounted can damage data.
USB disks do not have a separate Unmount button. Clicking Safely Remove unmounts all partitions on the disk and powers off the disk.
On the confirmation screen, click Safely Remove.
When the disk shows Safely removed, disconnect the USB cable. After refreshing the page, the disk disappears from the list.
This section explains how to use an internal disk as a regular partition. A regular partition is used within a single disk only. To combine multiple disks into one storage space or to increase capacity by adding disks, use LVM (see 'Internal Disk – Using with LVM' below).
When you connect a new disk with the product turned off and then boot, the new disk is shown in Disks as No partition.
A disk previously used in another device should first be initialized by clicking Initialize disk in the disk's Manage menu. All partitions and data on the disk are deleted. The procedure is the same as 'Initializing' under 'USB Disk'.
In the disk's Manage menu, click Add partition.
For a disk without a partition table, the partition table format (GPT/MBR) selection screen is shown first. GPT is generally selected.
Under the usage type, select File system and click Next.
Select the file system type to format with and click Next. ext4 is generally selected. For a description of each file system, see 'Creating a Partition' under 'USB Disk'.
Enter the partition name and size, then click Next. For a description of each item, see 'Creating a Partition' under 'USB Disk'.
On the confirmation screen, check the disk, partition name, size, and file system, then click Confirm. The new partition is created in the disk's free space, and other partitions are not changed.
When the operation is complete, the new partition is shown in Partitions. Partitions on internal disks are not mounted automatically, and the Mount point shows Not mounted. To save files, mount the partition as described below.
In the partition's Manage menu, click Mount file system.
Check the Mount point and click Mount.
When mounting is complete, the partition shows its file system (e.g., Linux EXT4), usage, and Mount point.
In the partition's Manage menu, click Mount file system.
Click Unmount. The Mount point and Mount at boot cannot be changed while the partition is mounted, so unmount it first to change them.
When unmounting is complete, the Mount point shows Not mounted. Files stored on the partition are not deleted.
You can shrink a partition to free up space on the disk. A new partition can be created in the freed space with Add partition.
After unmounting the partition, click Shrink partition in the partition's Manage menu. While the partition is mounted, the Shrink partition button is disabled and “Unmount the partition to shrink it.” is shown.
Enter the amount to shrink by and click Next.
Stored data must fit within the reduced size. During the operation, the file system is checked and shrunk first, then the partition is shrunk, and the freed space remains as free space after the partition. Back up important files before proceeding.
On the confirmation screen, check the amount to shrink by (Shrink by) and the size after the change (New size), then click Shrink partition. If the data does not fit within the reduced size, the operation does not proceed and the partition is not changed.
When complete, the partition size changes and free space is created on the disk. Clicking Manage on the disk shows Add partition.
The procedure for creating a new partition in the free space is the same as 'Creating a Partition' above. Free space shows the size of the freed space, and the partition name is filled in automatically with the next number (e.g., NVME0N1_2).
When complete, two partitions are shown in Partitions. Mount the new partition the same way as in 'Mounting' before using it.
To combine multiple disks into one storage space, or to increase capacity later by adding disks, configure LVM. The setup order is: create a PV (LVM partition) → add it to a VG (Volume group) → create an LV (Logical volume) → mount.
When you connect a new disk with the product turned off and then boot, the new disk is shown in Disks as No partition.
In the new disk's Manage menu, click Add partition.
Select the partition table format and click Next. GPT is generally selected.
Under the usage type, select PV (LVM) and click Next.
Select the Volume group to add the PV to and click Next.
Enter the partition name and size, then click Next. For a description of each item, see 'Creating a Partition' under 'USB Disk'.
On the confirmation screen, check the details and click Confirm. When complete, the Volume group is shown in Volume Groups.
In the Volume group's Manage menu, click Create volume. Enter the size and name of the Logical volume and click Create volume to create the Logical volume (LV).
In the Logical volume's Manage menu, click Mount file system, check the Mount point, then click Mount.
When mounting is complete, Logical Volumes shows the Logical volume's usage and Mount point.
You can add a new disk to a Volume group in use to increase the capacity of a Logical volume. The Mount point and stored files are kept as they are.
With the product turned off, connect the disk to add, then boot the product.
In the new disk's Manage menu, click Add partition and select PV (LVM) as the usage type. On the Volume group selection screen, select Add to an existing volume group and choose the Volume group to expand. The remaining steps for entering the partition name and size and confirming are the same as in 'Internal Disk – Using with LVM'.
In the Logical volume's Manage menu, click Grow volume and specify the amount to increase. This can be done even while the Logical volume is mounted.
You can shrink a Logical volume to free up space in the Volume group. After unmounting the Logical volume, click Shrink volume in the Logical volume's Manage menu. This cannot be done while it is mounted.
As in the screen above, if there is no free space left in the Volume group, Grow volume is disabled and “There is no free space left in this volume group to grow the volume.” is shown.
Enter the amount to shrink by in Shrink by and click Next. Select a unit (GB, etc.) and enter a number. Stored data must fit within the reduced size; the file system is checked and shrunk first, then the Logical volume is shrunk.
On the confirmation screen, check the amount to shrink by (Shrink by) and the size after the change (New size), then click Shrink volume. If the data does not fit within the reduced size, the operation does not proceed and the Logical volume is not changed. Back up important files before proceeding.
When complete, Logical Volumes shows the new Logical volume size. The total size of the Volume group does not change, and free space equal to the reduced amount is created in the Volume group.
You can check the free space (Free space) in the Volume group's Manage menu. In the free space, you can create a new Logical volume with Create volume, or increase a Logical volume's capacity again with Grow volume. While any Logical volume remains in the Volume group, Remove volume group is disabled.
This section explains how to remove a disk. Once a Logical volume or partition is deleted, the data stored on it cannot be recovered.
For a disk used as a regular partition, unmount the partition, click Remove partition in the partition's Manage menu to delete it, then turn off the product and disconnect the disk. For a disk configured with LVM, remove it in the following order.
In the Logical volume's Manage menu, click Mount file system, then click Unmount.
In the Logical volume's Manage menu, click Remove volume. The Logical volume and all data stored on it are deleted.
In the Volume group's Manage menu, click Remove volume group to delete the Volume group.
In the PV partition's Manage menu, click Remove partition. Once the partition is deleted, turn off the product and disconnect the disk.
In an LV made up of multiple disks, data is spread across all of the disks. If one disk is disconnected or fails, the entire LV becomes unusable and data may be lost.
To remove only one disk, follow the steps below.
1. Back up important files.
2. Shrink the Logical volume
Unmount the Logical volume and reduce its size with Shrink volume. The capacity shown on screen is rounded, so shrink by a little more than the size of the disk you are removing (e.g., 240GB for a 238GB disk).
When finished, check that the usage of the partition on the disk to be removed is 0B. If it is not 0B, data still remains on that disk, so shrink the Logical volume further.
3. Remove from the Volume group
In the Manage menu of the partition on the disk to be removed, click Remove from volume group.
On the confirmation screen, click Remove from volume group. If the partition holds no data, it is removed from the Volume group immediately. The partition remains as an LVM partition and can be added to a Volume group again.
When finished, the partition shows No volume group, and the Volume group's capacity decreases.
4. Reclaim the remaining space
Because you shrank the volume with some margin, free space remains in the Volume group. In the Logical volume's Manage menu, select Grow volume → Use all free space to add the remaining space back to the Logical volume.
5. Disconnect the disk
Clicking Manage on the partition removed from the Volume group shows the following menu.
To disconnect the disk, delete the partition with Remove partition, then turn off the product and disconnect the disk.
To remove all disks, follow the removal order above (Unmount → Remove volume → Remove volume group → Remove partition), then disconnect the disks.