Changes

From Amahi Wiki
Jump to: navigation, search
5,801 bytes added ,  13:31, 17 October 2016
Ideas for = Introduction =This is a plugin to add new disk wizard:disks to an Amahi HDA in a "seamless as possible" fashion.
* need to distinguish between temporary/removable <div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #faa; margin: 0px 1em;">'''CAUTION:''' If you mount a drive and permanent* need to have the ability to format* need to be able to moun or unmount* easy to make at some point remove it part of , ensure you remove the shares (and appropriate entry from the pool)* should be able to unmount it''/remove it?**Yes if it is flagged as temporary storage* it should supportetc/recognize multiple file systemsfstab''. If you don't, most notably, NTFS your HDA will boot into '''Emergency Mode''' and ext3be inoperable.</4, possibly FATdiv>
= Amahi New Disk Wizard Assumptions and Dependencies =
1== Features ==* Create partition tables, (e.g. Format , msdos or gpt)* Create, move, copy, resize, check, label, set new UUID, and delete partitions* Enable and disable partition flags, (erasee.g., boot or hidden) the new drive? WARNING! This will completely erase this new drive! Make sure the selected hard drive is the drive you'd like * Align partitions to erase.mebibyte (MiB) or traditional cylinder boundaries* Attempt data rescue from lost partitions
== Devices supported ==* Hard disk drives (No: Remember selectione.g., [[SATA]], then to to #3)2. Format using what file system? [X[IDE]] ext4: Linux format; <strong>strongly recommended</strong> for use in Amahi, or other Linux systems. and [[ SCSI] NTFS: Windows format])* Flash memory devices, such as USB memory sticks and Solid State Drives (SSD&#39; only use this option if you really need to be able to read this drive when it's )* RAID Devices (physicallyhardware RAID, motherboard BIOS RAID, and Linux software RAID) connected directly on a Windows computer* All sector sizes (e.g., devices with 512, 1024, 2048, 4096 byte sectors and more) [ ] FAT32: Windows format; Disk-Wizard does not recommended for big files; maximum size of files on a FAT32 partition: 4GBsupport logical volume management (LVM2) at present.
(Remember selection)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.
3. What would you like to do with this new drive? [ ] Mount as /var/hda/files/drives/drive#. You'll then be able to <There is a href="/setup?sub=shares&tab=share">create new shares</list of dependencies, or a> in that directory, list of packages required for the program to use work. In this new drive. [ ] (Experimental) Add it to your <a href="/setup?sub=disk_pooling&tab=share">shared storage pool</a>occasion, they are file system tools.
(Remember selection)* ntfsprogs* udisks2* e2fsprogs* hdparm
4. Show animated 'Please wait...'== 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;
* If user asked to format, fdisk & format now, using selected file system.* Mount new drive with|style="color: NEW_DRIVE_PATH=`hda-diskmount --silent /dev/sdX#` (mount failed if NEW_DRIVE_PATH == 6aa84f"")|* If the user asked to add the drive to storage pool: do that, and if no shares have the 'Uses Pool' option enabled yet, enable it for all of them, with 0 extra copies, then restart greyhole & Samba. If some shares have 'Uses Pool' enabled, don't thouch anything there, and just restart Greyhole.#10003;
5. Done!* If the user asked to just mount:** if user asked for a format: echo Your new drive has been formatted, and is now available as $NEW_DRIVE_PATH. You can now <a href="/setup?sub=shares&tab=share&root|style=$NEW_DRIVE_PATH">create new shares</a> in that directory.** elsecolor: echo Your new drive is now available as $NEW_DRIVE_PATH. You can now <a href="/setup?sub=shares&tab=share&root=$NEW_DRIVE_PATH#6aa84f">create new shares</a> in that directory.* If the user asked to add the drive to storage pool: echo Your new drive is now part of your shared storage pool.|** if 'Uses Pool' has been enabled for all shares: echo All your shares are now using your shared storage pool. You can configure your shared storage pool in the <a href="/setup?sub=disk_pooling&tab=share">Shares > Storage Pool</a> page. You can configure storage pool usage for shares in <a href="/setup?sub=shares&tab=share">Shares</a> page. Note that the existing data in your shares (if any) will be moved into your shared storage pool starting at midnight tonight.#10003;
Attached|style="color: Required changes to hda#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-diskmount to support 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-slient and device parameterscolor: #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: [[File#b7b7b7"|N/A |style="color:Hda#b7b7b7"|N/A ||-diskmount|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.txt]] <font color="#b7b7b7">N/A</font> Not applicable
12,424

edits