Difference between revisions of "New Disk Wizard"

From Amahi Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
 +
This is a plugin to add new disks to an Amahi HDA in a "seamless as possible" fashion.
  
This is a plugin to add new disks to an Amahi HDA in a "seamless as possible" fashion.
+
<div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #faa; margin: 0px 1em;">
 +
'''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.</div>
  
 
= Assumptions and Dependencies =
 
= Assumptions and Dependencies =
  
Test edit 1
+
== 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&#39;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 ==
 +
{| border="1"
 +
|-
 +
| style="background-color: #e3ffc3"|
 +
File system
 +
|style="background-color: #e3ffc3"|
 +
Detect
 +
|style="background-color: #e3ffc3"|
 +
Read
 +
|style="background-color: #e3ffc3"|
 +
Create
 +
|style="background-color: #e3ffc3"|
 +
Grow
 +
|style="background-color: #e3ffc3"|
 +
Shrink
 +
|style="background-color: #e3ffc3"|
 +
Move
 +
|style="background-color: #e3ffc3"|
 +
Copy
 +
|style="background-color: #e3ffc3"|
 +
Check
 +
|style="background-color: #e3ffc3"|
 +
Label
 +
|style="background-color: #e3ffc3"|
 +
UUID
 +
|style="background-color: #e3ffc3"|
 +
Required software
 +
|-
 +
| style="background-color: #e3ffc3"|
 +
ext2
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|
 +
e2fsprogs
 +
 
 +
|-
 +
| style="background-color: #e3ffc3"|
 +
ext3
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|
 +
e2fsprogs
 +
 
 +
|-
 +
| style="background-color: #e3ffc3"|
 +
ext4
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|
 +
e2fsprogs v1.41+
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
f2fs
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
f2fs-tools
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
fat16
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
dosfstools
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
fat32
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|
 +
dosfstools
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
hfs
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
hfsutils
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
hfs+
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
hfsprogs
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
jfs
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
jfsutils
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
linux-swap
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|
 +
util-linux
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
lvm2 pv
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
lvm2
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
nilfs2
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
nilfs-utils
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
ntfs
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|style="color: #6aa84f"|
 +
&#10003;
 +
 
 +
|style="color: #ff0000"|
 +
&#10005;
 +
 
 +
|
 +
ntfs-3g / ntfsprogs
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
reiser4
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
reiser4progs
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
reiserfs
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
reiserfsprogs
 +
 
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
ufs
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
|-
 +
|style="background-color: #e3ffc3"|
 +
xfs
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|style="color: #b7b7b7"|
 +
N/A
 +
 
 +
|
 +
xfsprogs, xfsdump
 +
 
 +
|}
 +
'''Legend'''
 +
 
 +
<font color="#6aa84f">&#10003;&#10003;</font>    Supported offline and online. For example, unmounted and mounted.
 +
 
 +
<font color="#6aa84f">&#10003;</font> Supported offline only.
 +
 
 +
<font color="#ff0000">&#10005;</font> Not supported.
 +
 
 +
<font color="#b7b7b7">N/A</font> Not applicable

Latest revision as of 13:31, 17 October 2016

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