New Disk Wizard

From Amahi Wiki
Jump to: navigation, search

Introduction

This is a plugin to add new disks to an Amahi HDA in a "seamless as possible" fashion.

CAUTION: If you mount a drive and at some point remove it, ensure you remove the appropriate entry from the /etc/fstab. If you don't, your HDA will boot into Emergency Mode and be inoperable.

Assumptions and Dependencies

Features

  • Create partition tables, (e.g., msdos or gpt)
  • Create, move, copy, resize, check, label, set new UUID, and delete partitions
  • Enable and disable partition flags, (e.g., boot or hidden)
  • Align partitions to mebibyte (MiB) or traditional cylinder boundaries
  • Attempt data rescue from lost partitions

Devices supported

  • Hard disk drives (e.g., SATA, IDE, and SCSI)
  • Flash memory devices, such as USB memory sticks and Solid State Drives (SSD's)
  • RAID Devices (hardware RAID, motherboard BIOS RAID, and Linux software RAID)
  • All sector sizes (e.g., devices with 512, 1024, 2048, 4096 byte sectors and more)

Disk-Wizard does not support logical volume management (LVM2) at present.

The Disk-Wizard uses a wide variety of third party libraries and tools which perform these operations. Disk-Wizard is a frontend, which brings together all these underlying functions and processes, and presents them in a graphical and accessible way.

There is a list of dependencies, or a list of packages required for the program to work. In this occasion, they are file system tools.

  • ntfsprogs
  • udisks2
  • e2fsprogs
  • hdparm

File system support

File system

Detect

Read

Create

Grow

Shrink

Move

Copy

Check

Label

UUID

Required software

ext2

e2fsprogs

ext3

e2fsprogs

ext4

e2fsprogs v1.41+

f2fs

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

f2fs-tools

fat16

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

dosfstools

fat32

dosfstools

hfs

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

hfsutils

hfs+

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

hfsprogs

jfs

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

jfsutils

linux-swap

util-linux

lvm2 pv

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

lvm2

nilfs2

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

nilfs-utils

ntfs

ntfs-3g / ntfsprogs

reiser4

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

reiser4progs

reiserfs

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

reiserfsprogs

ufs

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

xfs

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

xfsprogs, xfsdump

Legend

✓✓ Supported offline and online. For example, unmounted and mounted.

Supported offline only.

Not supported.

N/A Not applicable