From 4e17fa93deb777c10bbda99592a7022ef4cd1c53 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Thu, 22 Aug 2019 15:47:50 -0600 Subject: [PATCH 1/1] LUDOC-11 utilities: remove --count flag The 'lfs setstripe' utility used to allow the user to set the file stripe count using the "--count" option. This option was replaced with "--stripe-count". Make this update in the manual. Change-Id: I782f59222ab3b606fec328b0973ab0c39ddb42fe Signed-off-by: James Nunez Reviewed-on: https://review.whamcloud.com/35872 Tested-by: jenkins Reviewed-by: Joseph Gmitter --- ManagingStripingFreeSpace.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ManagingStripingFreeSpace.xml b/ManagingStripingFreeSpace.xml index bf703bc..6a10225 100644 --- a/ManagingStripingFreeSpace.xml +++ b/ManagingStripingFreeSpace.xml @@ -185,7 +185,7 @@ Setting the File Layout/Striping Configuration (lfs setstripe) Use the lfs setstripe command to create new files with a specific file layout (stripe pattern) configuration. - lfs setstripe [--size|-s stripe_size] [--count|-c stripe_count] [--overstripe-count|-C stripe_count] \ + lfs setstripe [--size|-s stripe_size] [--stripe-count|-c stripe_count] [--overstripe-count|-C stripe_count] \ [--index|-i start_ost] [--pool|-p pool_name] filename|dirname stripe_size @@ -313,7 +313,7 @@ obdidx objid objid group You can use lfs setstripe to create a file on a specific OST. In the following example, the file file1 is created on the first OST (OST index is 0). - $ lfs setstripe --count 1 --index 0 file1 + $ lfs setstripe --stripe-count 1 --index 0 file1 $ dd if=/dev/zero of=file1 count=1 bs=100M 1+0 records in 1+0 records out @@ -324,8 +324,8 @@ lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: 1 lmm_layout_gen: 0 -lmm_stripe_offset: 0 - obdidx objid objid group +lmm_stripe_offset: 0 + obdidx objid objid group 0 37364 0x91f4 0 -- 1.8.3.1