[lustre-discuss] MGTMDT device getting full

Torsten Harenberg torsten.harenberg at cern.ch
Wed Oct 21 04:40:47 PDT 2015


Am 19.10.15 um 10:00 schrieb Torsten Harenberg:

> [root at lustre1 MGTMDT]# ls -lh oi.16
> -rw-r--r-- 1 root root 554G Aug 13  2013 oi.16

coming back to this. I found this mail from Andreas

https://lists.01.org/pipermail/hpdd-discuss/2014-October/001352.html

"Multiple OI files are created for new filesystems by default.  You can
also cause OI Scrub to rebuild the OI file if the current OI file is
corrupted or missing."

"You can mount the MDT locally as type ldiskfs, rename the oi.16 file, then
mount the MDT as type lustre and OI scrub should begin automatically at
mount (see "lctl get_param .
"


Does that mean that

- going into downtime
- backup the MDT
- mount MDT as ldiskfs
- rename (or move) oi.16
- umount MDT as ldiskfs
- mount all devices back as lustre
- .. wait :)

Would be a valid procedure to reduce the size used on the MDT?

I triggered a OI_scrub with

lctl > lfsck_start -M lustre-MDT0000 -r
Started LFSCK on the device lustre-MDT0000.

and this finished:

name: OI_scrub
magic: 0x4c5fd252
oi_files: 1
status: completed
flags:
param:
time_since_last_completed: 5122 seconds
time_since_latest_start: 12059 seconds
time_since_last_checkpoint: 5122 seconds
latest_start_position: 12
last_checkpoint_position: 536870913
first_failure_position: N/A
checked: 69458966
updated: 0
failed: 0
prior_updated: 0
noscrub: 190241
igif: 1719
success_count: 2
run_time: 6937 seconds
average_speed: 10012 objects/sec
real-time_speed: N/A
current_position: N/A
lf_scanned: 0
lf_reparied: 0
lf_failed: 0

but not much space was freed.

Thanks for your help!

Best regards

 Torsten

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     Torsten.Harenberg at cern.ch          <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal           @CERN: Bat. 1-1-049                <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>


More information about the lustre-discuss mailing list