Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

man lvcreate - Am I blind or there is no description for "sS" ? (I can't find on redhat manual pages as well)

-L, --size LogicalVolumeSize[bBsSkKmMgGtTpPeE]
              Gives  the  size  to allocate for the new logical volume.
              A size suffix of K for kilobytes, M for megabytes, G for
              gigabytes, T for terabytes, P for
              petabytes or E for exabytes is optional.
              Default unit is megabytes.
share|improve this question
    
You may want to submit a request to the maintainers to add that documentation to the lvcreate man page. –  JodieC Mar 23 '12 at 13:53

2 Answers 2

up vote 3 down vote accepted

Sectors.

See this patch: https://www.redhat.com/archives/lvm-devel/2009-July/msg00018.html

share|improve this answer
1  
I love it when developers add features and don't bother to document them. –  Patrick Mar 22 '12 at 23:03
1  
The pvs, vgs and lvs man pages have all the units, but some other man pages haven't been updated. –  Gilles Mar 22 '12 at 23:42

I do not know the name of the sS but it takes 2048 of s to make 1m so kilobytes are double the size of s because it only takes 1024k to equal 1m.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.