-
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
-
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
=========================================
-
Senior Member
registered user
Is it in-place ? I browse briefly and it seems like a tar out/reformat/tar in to me.
-
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...
-
Senior Member
registered user
What does it mean by sparse image ? I don't quite understand how it does it.
-
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
-
By evirus in forum General Support
Replies: 1
Last Post: 05-07-2004, 12:39 AM
-
By b0b-0001 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 04-07-2004, 05:56 AM
-
By Drewby in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-03-2003, 06:54 PM
-
By WANDr in forum Hardware & Booting
Replies: 1
Last Post: 03-13-2003, 01:51 AM
-
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
-
Forum Rules
![LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture](/store/img/g/JEEAAOSwzu9ibCFX/s-l225/LOT-OF-20-Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-.jpg)
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
![Lot (10) Dell 0N8TDR 850nm SFP-10G-SR-85C 10Gbs sfp+ FTLX8574D3BNL-FC N8TDR NEW picture](/store/img/g/E7cAAOSw98tljuIT/s-l225/Lot-10-Dell-0N8TDR-850nm-SFP-10G-SR-85C-10Gbs-sfp-.jpg)
Lot (10) Dell 0N8TDR 850nm SFP-10G-SR-85C 10Gbs sfp+ FTLX8574D3BNL-FC N8TDR NEW
$68.00
![New HP Aruba J9150D 10GBASE-SR SFP+ Transceiver Module picture](/store/img/g/wykAAOSwuGNikKUC/s-l225/New-HP-Aruba-J9150D-10GBASE-SR-SFP-Transceiver-Mod.jpg)
New HP Aruba J9150D 10GBASE-SR SFP+ Transceiver Module
$35.88
![ProLabs 10GBase-TX SFP+ RJ-45 Copper Transceiver Module P/N: SFP-10GBASE-T-C NEW picture](/store/img/g/NbQAAOSws1xmRieZ/s-l225/ProLabs-10GBase-TX-SFP-RJ-45-Copper-Transceiver-Mo.jpg)
ProLabs 10GBase-TX SFP+ RJ-45 Copper Transceiver Module P/N: SFP-10GBASE-T-C NEW
$34.99
![Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03 picture](/store/img/g/7yMAAOSwjyBiZxyT/s-l225/Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-SFP-Transc.jpg)
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
![Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture](/store/img/g/aIgAAOSwXWNi1sm1/s-l225/Brand-New-Cisco-GLC-LH-SMD-1000BASE-LX-LH-SFP-Modu.jpg)
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$10.99
![Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm picture](/store/img/g/NXsAAOSwAktlSXfr/s-l225/Lot-of-10-HP-10Gb-SR-SFP-Transceiver-455883-B21-45.jpg)
Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm
$25.99
![Genuine Cisco SFP-10G-SR Transceiver Module (10-2415-03) picture](/store/img/g/EGsAAOSwOLplBoX9/s-l225/Genuine-Cisco-SFP-10G-SR-Transceiver-Module-10-241.jpg)
Genuine Cisco SFP-10G-SR Transceiver Module (10-2415-03)
$5.85
![Cisco Nexus 96-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP picture](/store/img/g/IwQAAOSw5A9mS3oa/s-l225/Cisco-Nexus-96-Port-10G-SFP-Switch-N9K-93128TX-w-9.jpg)
Cisco Nexus 96-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP
$149.99
![New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in GBIC Transceiver module A picture](/store/img/g/mScAAOSwCahlCWjK/s-l225/New-Sealed-Cisco-SFP-10G-LR-10GBASE-LR-SFP-Plug-in.jpg)
New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in GBIC Transceiver module A
$15.80