Results 1 to 6 of 6

Thread: Include in-place file system conversion tool (convertfs)...

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    4

    Include in-place file system conversion tool (convertfs)...

    Hi all,

    A suggestion for a tool that would be REALLY usefull on the Knoppix CD :

    http://tzukanov.narod.ru/convertfs/

    (it should take less than 150KB so it should probably fit on the cd... ?)

    Please note that I've not (yet) tested this software, but this is really something I would have needed a couple of times (doing this using tar and/or netcat is not fun at all, and you need another HD/computer...)

    Please let me know what you think about this suggestion...

    Vincent

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Posts
    4
    No reply/feedback at all... am I really the only one interested in such a feature ???

    =========================================
    convertfs v1.3

    Convert filesystem on device from this type to this type.

    Usage: convertfs device from_fs_type to_fs_type

    Filesystem types: minix xfs jfs reiserfs ext2 ext3

    Example: convertfs /dev/hda2 ext2 reiserfs
    =========================================

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    Is it in-place ? I browse briefly and it seems like a tar out/reformat/tar in to me.

  4. #4
    Junior Member
    Join Date
    Apr 2003
    Posts
    4
    Yes, it is:

    This simple toolset allows you to change type of file system in the lack of backup space. The idea
    is to use sparse files support of primary filesystem. We create a sparse image of block device, mkfs secondary filesystem on it, mount it, mv files from primary filesystem to mounted image and then
    map image to the device.
    Thus (if I understand correctly) the only condition is that the free space on the partition you want to convert has to be be bigger than the size of the biggest file on the partition - so that you can move it to the sparse image. No other disk/partition needed ! I don't know any other tool that can achieve the same in linux...

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    What does it mean by sparse image ? I don't quite understand how it does it.

  6. #6
    Junior Member
    Join Date
    Apr 2003
    Posts
    4
    From http://www.nic.com/~cheah/hole.html : "On many Unix filesystems, files containing long strings of nulls can be stored much more efficiently than other files. To be specific, if a string of nulls spans an entire allocation block, that whole block is not stored on disk at all. Files where one or more blocks are omitted in this way are called sparse files. The missing blocks are also known as holes."

    That makes possible e.g. to have a 1TB file on a 1GB partition, provided that the file is filled at 99.9% with nulls. Anyway, the image of the partition is initially a sparse file (which means that it takes effectively 0 space on disk, even if it looks like a file that is as big as your whole partition !), and the effective size (i.e. size taken on disk) of the image will grow up as the files are moved into that image (which on the other side will free space on the partition, thus the total space used on the partition is almost constant)...

Similar Threads

  1. NTFS file system
    By evirus in forum General Support
    Replies: 1
    Last Post: 05-07-2004, 12:39 AM
  2. What File System should I use ???
    By b0b-0001 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 04-07-2004, 05:56 AM
  3. What file system?
    By Drewby in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-03-2003, 06:54 PM
  4. File System
    By WANDr in forum Hardware & Booting
    Replies: 1
    Last Post: 03-13-2003, 01:51 AM
  5. No root file system (but system works)
    By freyley in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-31-2003, 09:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730 picture

Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730

$349.99



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS picture

Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS

$274.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00