# Questions and Answers

How dangerous is &partman; for my data?

First of all, you should never perform any destructive operations (delete, move, resize) without first making a complete backup of everything affected.

Having said that, &partman; is safe to use. It performs extensive checks before and after every operation. It calls external tools written and supported by the file system authors. And it has been tested extensively.

There is always the risk of data loss due to an unknown bug. &partman;'s authors try to minimize this risk, but there are of course no guarantees.

I have installed all recommended external file system support packages and still do not get support for all operations on all file systems.

Not everything &partman; can do in principle can be done with all file systems.

One example is performing a file system check on linuxswap: It is just not possible. There are other limitations like that inherent in some file systems. You cannot shrink JFS or XFS file systems because neither of the two supports shrinking at all, with or without &partman;.

Why can't I see any meaningful progress information when resizing a partition?

&partman; can only show progress information when it knows how long the jobs in an operation will take. Unfortunately this is usually not the case when resizing partitions because the by far longest job when doing so is resizing the file system on the partition. Resizing file systems is in most cases something an external tool will do on behalf of &partman; and these external tools do not provide useful progress information to &partman;, so there's nothing to report while they are running.

Why can't I resize the root partition? How can I resize the partition /home is on?

To modify a partition it must not be mounted. You can however not unmount the root partition. Neither will you be able to unmount the home partition if the home directory of the currently logged in user is on it.

The solution for this problem is to boot from a Linux Live CD that comes with &partman; and modify these partitions from there.

I'm getting a warning message in the log output about something that a partition cannot be created with the size I requested and that it will instead be smaller. What happened?

On MS-DOS partition tables, partitions have to begin and end on cylinder boundaries. This is mainly for historical reasons. &partman; will deal with this internally and try not to bother the user with that limitation.

Under rare circumstances, &partman; will however not be able to set up an operation in the way the user requested it due to this limitation. For example, if one cylinder on a device is 8 MiB large and you try to resize a partition by 6 MiB, this will not work.

You might also encounter this message if you have a device and partition table where the partitions are, for whatever reason, not correctly snapped to cylinder boundaries and you try to move or copy these partitions for the first time.

The message itself is harmless and only exists to inform the user that something can not be done quite exactly the way the user expects. Your partitions and data will not be negatively affected in any way if you see this message.

How many operations can I add to the list of pending operations?

There is no limit.

It is however not recommended to add too many operations to the list. There is always a small chance an operation might fail with an error, in which case &partman; will stop executing operations. In that case it is a lot easier to find out what happened (and to re-add all the operations that could not be executed) if the list of pending operations was not exceedingly long.

Resizing an ext2 or ext3 file system failed with something in the report about no space left on device. What happened? Is my data corrupted now?

This is a problem of the `e2resize` command and the underlying ext2/3/4 file system. If a file system is nearly full, `e2resize` cannot make it any smaller even though that should be possible from the number of free sectors left. &partman; can unfortunately not know beforehand if `e2resize` will abort with this error for a given file system or not. If it happens nothing will be done at all and your data will not be negatively affected.

There is no real workaround for this problem right now.

Why can't I format my floppy disk with &partman;? Why is there no support for CD writing or DVD burning?

None of this is what &partman; has been designed to do: It is an application that deals with partitions and the file systems on these partitions. Floppy disks, CDs or DVDs do not need or use partitions.

Why can't I modify partitions on a device with an amiga or bsd partition table?

&partman; currently only allows read-only access to any other partition table type than MS-DOS. This is for safety reasons: Support in &partman; for this partition table types is not really there and what is there (or just incidentally works) has not been tested enough to use it with confidence.

Of course you can still create a new MS-DOS partition table on the device in question, but that is probably not what you want.

On startup, &partman; hangs for a couple of minutes while it apparently tries to scan the floppy drive on my computer.

This happens if you have a floppy drive configured in your computer's BIOS settings but have not actually connected one. If you do not have a floppy drive check your BIOS settings and disable any floppy drives configured there to see if this makes the problem go away.

During startup, &partman; prints some message about probing devices and that it might even crash or at least take a long time.

LibParted, a backend library &partman; uses, has problems with systems where the Linux Device Mapper is used in a way it doesn't understand. Unfortunately it reacts to some of these situations with segmentation faults, i.e. crashes. &partman; therefore tries to avoid these situations by using an alternative way to scan your computer for disks. If it cannot do that, however, and therefore has to rely on LibParted, it will print a message like the one mentioned. If the scanning for disks works, you can safely disregard the message.