Friday, April 21, 2017

Linux: Why deleting files does not free space

You are in the middle of compiling your code and you see errors:
/disk/user1/platform_dev/odfl/driver/openwrt/staging_dir_arm_platform/bin/arm-unknown-linux-uclibcgnueabi-objcopy:/disk/user1/platform_dev/odfl/driver/base/build_platform/kmod/linuxmodule/stI4AuYi: No space left on device
make[5]: *** [/disk/user1/platform_dev/odfl/driver/base/build_platform/kmod/linuxmodule/handlerproxy.o] Error 1
make[5]: *** Waiting for unfinished jobs....

So this is just like old times. You run df -h and check if you are running at disk capacity.
I find that I am at 70% disk usage but still the make process is complaining.

I decide to be conservative and free up more space on the system.
Then I see something interesting. Despite doing the rm -Rf on a couple of big chunks of data,
I do not see the free space on my system going up. 

That gets me thinking why this might be happening. The reason is that the deletes I did were through screen. And, Linux will not free up any descriptors (Inodes) as long as they are being referred through some process.


So I ran the command
lsof | grep deleted

This command listed a buch of my recent deletes that had not gone through. I tried to manually do the cleanup by restarting the processes and killing the screen sessions. It was too much work so I ended up rebooting the machine instead.

This fixed the problem.

32 comments:

Canelo Golovkin said...

State of Origin
State of Origin Date
State of Origin 2017
State of Origin Game 1
State of Origin Live Stream
NBA Finals
NBA Finals Live
NBA Finals Schedule
NBA Finals 2017
Indy 500
Indy 500 TV Schedule
Indy 500 Starting Grid
2017 Indy 500 Live
Indy 500 Winners
Indy 500 Results
Indy 500 Live Stream
Cavs vs Warriors
Cavs vs Warriors Live

satyajit Bhowmik said...

NBA Finals Live
NBA Finals Live stream
NBA Finals
NBA Finals 2017
NBA Finals Schedule
NBA Finals 2017 Scores

Cavs vs Warriors
Cavs vs Warriors live stream
Cavs vs Warriors TV Schedule
Cavs vs Warriors Live
Cavs vs Warriors Scores
Cavs vs Warriors Game

NBA Playoffs
NBA Playoffs 2017
NBA Playoff Scores

satyajit Bhowmik said...

The US Open: You need to know the US Open Golf Championship will be the 117th US Open Golf 2017, US Open Schedule to be played June 15–18 at Erin Hills in Erin, Wisconsin, northwest of Milwaukee. For so many years, US Open Live everyone knew what to expect US Open Golf Live and US Open Live Stream. For the second time in three years, the 2017 US Open Golf is headed to a course that has never hosted a major. It will be the first US Golf Open in 25 years that doesn't have the names Tiger Woods or Phil Mickelson among the starting times US Golf Open 2017. Woods is missing all the majors for the second straight year because of a fourth back surgery, which was a month before his DUI arrest in Florida 2017 US Open Golf Live. Mickelson US Open Golf Live Stream, with a record six runner-up finishes in the only major he hasn't won, said he plans to skip because his daughter's high school graduation is the same day as the opening round. US Open TV Coverage and US Open 2017 Results


US Open Golf 2017
US Open Golf 2017 Live
US Open Golf 2017 Live Stream


US Open Championship
US Open Championship Live
US Open Championship 2017

ifohancroft said...

Another reason the script still dying with 'No space left on device' might be that the drive on which /tmp is, doesn't have enough free space (Happen to me, today at work).

All Time Free Enjoy said...

Mayweather vs McGregor

Mayweather vs McGregorLive

Mayweather vs McGregorLive Stream

McGregor vs Mayweather

McGregor vs Mayweather

Rajeev s said...

itube pro apk download is really aweosme app if you are interested in watching and downloading movies for free from youtube instantly.

Megha Nahta said...

Groundhog day 2018 video / Video of Grounddhog day 2018 is something that every person in usa will love to watch . we have the best services groundhog day through which you can watch Groundhog day 2018 live stream

Super Bowl 2018 said...

Watch Super Bowl 2018 Live Stream HD Online Here:

Super Bowl 2018
Super Bowl 2018 Tickets
Super Bowl Tickets
Super Bowl 2018 Live
Super Bowl 2018 Live Stream
Super Bowl 52
Super Bowl 52 Tickets
Super Bowl 52 Live
Super Bowl 52 Live Stream
Super Bowl LII
Super Bowl LII Tickets
Super Bowl LII Live
Super Bowl LII Live Stream

Khan Roni said...

Super Bowl
Super Bowl 2018
Super Bowl lii
Super Bowl 52

Khan Roni said...

Super Bowl
Super Bowl 2018
Super Bowl lii

Super Bowl 2018
Super Bowl
Super Bowl 52
https://www-superbowl.com/
https://super-bowllii.com/
https://super2018-bowl.com/

Khan Roni said...

Super Bowl
Super Bowl 2018
Super Bowl lii

Super Bowl 2018
Super Bowl
Super Bowl 52
https://www-superbowl.com/
https://super-bowllii.com/
https://super2018-bowl.com/

Winter Olympics said...

Winter Olympics 2018
Winter Olympics 2018 Live
Winter Olympics 2018 Live Stream

Elton John Tour 2018 said...

Buy Elton John Tour 2018 Best Tickets Here:

Elton John Tour
Elton John Tour 2018
Elton John Tour Tickets
Elton John Tour 2018 Tickets

Elton John Tour 2018 said...

Elton John Tour
Elton John Tour 2018
Genesis Open
Genesis Open 2018

watchvs livestrem said...

NBA All Star live stream
NBA All Star live stream
NBA All Star live stream
NBA All Star live stream

Khan Roni said...

Watch Daytona 500 Live Stream HD Online Here:

Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500
Daytona 500

Dam Smith said...

Oscars
Oscars 2018
Oscars 2018 Live
Watch Oscars 2018
Oscars 2018 Live Stream
90th Academy Awards
Oscars awards

D2 Bet said...

Waiting for unfinished jobs....


สมัคร D2BET

Sophie Grace said...

company search the nice post. waiting the new post

Unknown said...

TCU Football
TCU Horned Frogs

USC Football
USC Trojans

Michigan State Football
Michigan State Spartans

UCF Football
UCF Knights

Penn State Football
Penn State Nittany Lions

Stanford Football
Stanford Cardinal

Ole Miss Football
Ole Miss Rebels

Wisconsin Football
Wisconsin Badgers

Solar eclipse said...

https://solareclipsei.de/
Solar eclipse
Solar eclipse 2018
2018 Solar eclipse
Partial Solar Eclipse
Partial Solar Eclipse 2018
2018 Partial Solar Eclipse
Solar eclipse 2018 When
Solar eclipse 2018 Live
Solar eclipse Live Stream
Solar eclipse Streaming
Solar eclipse 2018 Dates
Solar eclipse of August 11
Solar eclipse of August 11, 2018
https://solareclipsei.de/

Unknown said...

US Open Tennis
US Open
US Open Tennis 2018
US Open 2018
2018 US Open
PGA Championship Golf 2018
2018 US Open Tennis
US Open 2018 Schedule
US Open 2018 Tennis Schedule
US Open Tennis 2018 Schedule
U.S. Open
U.S. Open 2018
2018 U.S. Open
US Open Tennis Live
US Open Tennis Live Stream
US Open Tennis Live Streaming
US Open Live
US Open Live Stream
US Open Live Streaming
US Open 2018 Live
US Open 2018 Live Stream
US Open 2018 Live Streaming
US Open Tennis 2018 Live
US Open Tennis 2018 Live Stream
US Open Tennis 2018 Live Streaming
US Open 2018 TV Channel
US Open 2018 Dates
US Open Tennis Championships
US Open Tennis Championships 2018
https://ususopen.com/

Unknown said...

US Open Tennis
US Open
US Open Tennis 2018
US Open 2018
2018 US Open
2018 US Open Tennis
US Open 2018 Schedule
US Open 2018 Tennis Schedule
US Open Tennis 2018 Schedule
U.S. Open
U.S. Open 2018
2018 U.S. Open
US Open Tennis Live
US Open Tennis Live Stream
US Open Tennis Live Streaming
US Open Live
US Open Live Stream
US Open Live Streaming
US Open 2018 Live
US Open 2018 Live Stream
US Open 2018 Live Streaming
US Open Tennis 2018 Live
US Open Tennis 2018 Live Stream
US Open Tennis 2018 Live Streaming
US Open 2018 TV Channel
US Open 2018 Dates
US Open Tennis Championships
US Open Tennis Championships 2018

Unknown said...

Alabama Football
Alabama Football 2018
Alabama Football Schedule
Alabama Football 2018 Schedule
Alabama Football Live
Alabama Football Live Stream
Alabama Football Live Streaming
Alabama Crimson Tide Football

Unknown said...

Clemson Football
Clemson Football 2018
Clemson Football Schedule
Clemson Football 2018 Schedule
Clemson Football Live
Clemson Football Live Streaming
Clemson Football Live Stream
Clemson Tigers Football
https://clemsonfootball.de/

NCAA Football said...

Notre Dame Football
Notre Dame Football 2018
Notre Dame Football Schedule
Notre Dame Football 2018 Schedule
Notre Dame Football Live
Notre Dame Football Live Stream
Notre Dame Football Live Streaming
Notre Dame Fighting Irish Football
https://notredamefootball.de/
https://notredamefootball.de/



Ohio State Football
Ohio State Football 2018
Ohio State Football Schedule
Ohio State Football 2018 Schedule
Ohio State Footballl Live
Ohio State Football Live Stream
Ohio State Football Live Streaming
Ohio State Buckeyes Football
https://ohiostatefootball.de/
https://ohiostatefootball.de/

Mukto Vai said...

Davis Cup 2018 Semi Finals Live
Davis Cup 2018 Live
Davis Cup 2018 Semi Finals Live
https://watchallgameslive.de/daviscup/
https://watchallgameslive.de/daviscup/
PSG Vs St Etienne Live
PSG Vs St Etienne Live
PSG Vs St Etienne Live
https://watchallgameslive.de/psgvsstetienne/
https://watchallgameslive.de/psgvsstetienne/
Memphis Vs Georgia State Live
Memphis Vs Georgia State Live
Memphis Vs Georgia State Live
https://watchallgameslive.de/memphisvsgeorgiastate/
https://watchallgameslive.de/memphisvsgeorgiastate/
Supercars championship 2018 Live
Supercars championship 2018 Live
Supercars championship 2018 Live
https://watchallgameslive.de/supercarschampionship/
https://watchallgameslive.de/supercarschampionship/

London Scottish Vs Nottingham Live
London Scottish Vs Nottingham Live
London Scottish Vs Nottingham Live
https://watchallgameslive.de/londonscottishvsnottingham/
https://watchallgameslive.de/londonscottishvsnottingham/
Leeds Rhinos Vs Salford Red Devils Live
Leeds Rhinos Vs Salford Live
Leeds Rhinos Vs Salford Live
https://watchallgameslive.de/leedsrhinosvssalfordreddevils/
https://watchallgameslive.de/leedsrhinosvssalfordreddevils/
Miami Marlins Vs Philadelphia Phillies Live
Phillies Vs Marlins Live
Phillies Vs Marlins Live
https://watchallgameslive.de/philliesvsmarlins/
https://watchallgameslive.de/philliesvsmarlins/

Mukto Bro said...

Canelo Vs GGG 2 Live
Canelo vs GGG
Canelo vs GGG Live
Canelo vs GGG 2
Canelo vs GGG 2 Live
https://canelovsggglive.de/
https://canelovsggglive.de/

Canelo Vs GGG 2 Live
Canelo vs GGG
Canelo vs GGG Live
Canelo vs GGG 2
Canelo vs GGG 2 Live
https://canelovsggg2live.de/
https://canelovsggg2live.de/

Canelo Vs GGG 2 Live
Canelo vs GGG
Canelo vs GGG Live
Canelo vs GGG 2
Canelo vs GGG 2 Live
https://canelovsggg2live.de/live/
https://canelovsggg2live.de/live/

Canelo Vs GGG 2 Live
Canelo vs GGG
Canelo vs GGG Live
Canelo vs GGG 2
Canelo vs GGG 2 Live
https://caneloalvarezvsggg.de/
https://caneloalvarezvsggg.de/

Canelo Vs GGG 2 Live
Canelo vs GGG
Canelo vs GGG Live
Canelo vs GGG 2
Canelo vs GGG 2 Live
https://caneloalvarezvsggg.de/live/
https://caneloalvarezvsggg.de/live/

Neymar Jr said...

Tour championship 2018 - Tee Times, Schedule, Tv Channel
Tour Championship 2018
Tour Championship 2018
Tour Championship 2018 Live
Tour Championship 2018 Live
https://tourchampionships.de/
https://tourchampionships.de/
https://tourchampionships.de/



Tour championship 2018 - Tee Times, Schedule, Tv Channel
Tour Championship 2018
Tour Championship 2018
Tour Championship 2018 Live
Tour Championship 2018 Live
https://tourchampionshiplive.de/
https://tourchampionshiplive.de/
https://tourchampionshiplive.de/

Risan khan said...

Tour championship 2018 - Tee Times, Schedule, Tv Channel
Tour Championship 2018
Tour Championship 2018
Tour Championship 2018 Live
Tour Championship 2018 Live
https://tourchampionships.de/
https://tourchampionships.de/
https://tourchampionships.de/



Tour championship 2018 - Tee Times, Schedule, Tv Channel
Tour Championship 2018
Tour Championship 2018
Tour Championship 2018 Live
Tour Championship 2018 Live
https://tourchampionshiplive.de/
https://tourchampionshiplive.de/
https://tourchampionshiplive.de/

Risan Mukto said...

Joshua Vs Povetkin – Start Time, Tv Channel, Fight
Joshua Vs Povetkin
Joshua Vs Povetkin
Joshua Vs Povetkin Live
https://anthonyjoshuavspovetkin.de/
https://anthonyjoshuavspovetkin.de/
https://anthonyjoshuavspovetkin.de/


Joshua Vs Povetkin – Start Time, Tv Channel, Fight
Joshua Vs Povetkin
Joshua Vs Povetkin
Joshua Vs Povetkin Live
https://joshuavspovetkinlivee.de/
https://joshuavspovetkinlivee.de/
https://joshuavspovetkinlivee.de/

Unknown said...

Joshua Vs Povetkin – Start Time, Tv Channel, Fight
Joshua Vs Povetkin
Joshua Vs Povetkin
Joshua Vs Povetkin Live
https://anthonyjoshuavspovetkin.de/
https://anthonyjoshuavspovetkin.de/
https://anthonyjoshuavspovetkin.de/


Joshua Vs Povetkin – Start Time, Tv Channel, Fight
Joshua Vs Povetkin
Joshua Vs Povetkin
Joshua Vs Povetkin Live
https://joshuavspovetkinlivee.de/
https://joshuavspovetkinlivee.de/
https://joshuavspovetkinlivee.de/

Post a Comment