Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
11015
Description
[root@clnt ~]# mkdir /mnt/lustre2/foo [root@clnt ~]# lfs getstripe /mnt/lustre2/foo | sed 'l' /mnt/lustre2/foo$ /mnt/lustre2/foo stripe_count: 1 stripe_size: 1048576 stripe_offset: -1 $ stripe_count: 1 stripe_size: 1048576 stripe_offset: -1 [root@clnt ~]# lfs getstripe -c -s /mnt/lustre2/foo | sed 'l' stripe_count: 1 stripe_size: 1048576 $ stripe_count: 1 stripe_size: 1048576 [root@clnt ~]# lfs getstripe -c /mnt/lustre2/foo | sed 'l' 1 $ 1 [root@clnt ~]#
This is particularly annoying for parsing in scripts and has been unveiled in LU-3858 and associated Gerrit Change #7495, where a new auto-test was developed using "lfs getstripe".