--- Documentation/device-mapper/thin-provisioning.txt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) Index: linux-3.0-rc7/Documentation/device-mapper/thin-provisioning.txt =================================================================== --- linux-3.0-rc7.orig/Documentation/device-mapper/thin-provisioning.txt +++ linux-3.0-rc7/Documentation/device-mapper/thin-provisioning.txt @@ -102,7 +102,7 @@ i) Creating a new thinly provisioned vol To create a new thin provision volume you must send a message to an active pool device. - dmsetup message /dev/mapper/pool 0 "new-thin 0" + dmsetup message /dev/mapper/pool 0 "create_thin 0" Here '0' is an identifier for the volume (32bit range). It's up to the caller to allocate and manage these identifiers. If there's a @@ -129,7 +129,7 @@ i) Creating an internal snapshot may proceed without doing anything. dmsetup suspend /dev/mapper/thin - dmsetup message /dev/mapper/pool 0 "new-snap 1 0" + dmsetup message /dev/mapper/pool 0 "create_snap 1 0" dmsetup resume /dev/mapper/thin Here '1' is an identifier for the volume (32bit range). '0' is the @@ -170,11 +170,10 @@ i) Constructor -AGK FIXME Define this - [number of feature args> []*] + [ []*] Optional feature arguments: - - 'skip_block_zeroing': skips the zeroing of newly-provisioned blocks. + - 'skip_block_zeroing': skips the zeroing of newly provisioned blocks. ii) Status @@ -197,27 +196,27 @@ ii) Status iii) Messages - new-thin + create_thin Create a new thin provisioned device. is an arbitrary unique 32 bit number, chosen by the caller. - new-snap + create_snap Create a new snapshot of another thin device. is the dev id of the thin dev that you wish to snap. - del + delete Deletes a thin device. Irreversible. - trim + trim Delete mappings from the back of a thin device. Irreversible. You might want to do this if you're shrinking the size of your thin device. - trans-id + set_transaction_id Userland volume managers, such as LVM, need a way to synchonise their external metadata with the internal metadata of the pool