LVM root 100% usageUbuntu server terminal?“system reserved” windows partition showed on ubuntu 12.04. Not installed using wubiresize un-allocted space to /root LVMELI5: Resizing PartitionsCannot Get Windows Shares To Work Via Samba On Ubuntu Server 18.04.1 And New Drive; Cannot Change OwnerHelp figuring out what's taking up disk spaceUbuntu show wrong disk sizes, how to solve it?Google Cloud VM memory is being used up 100%
What is the purpose of polls published by the organization that they are asking about which have leading/confusing questions?
Is it safe to plug one travel adapter into another?
Who is Alice referring to when she was talking to Kate?
What Fruit Am I?
What happened to the SEV instruction on the 6502?
Applying a function on several columns of a dataset fails on Missing
Response to referee after rejection
What is an idiom, phrase or expression for situation such as "throw a pigeon among cats"
A logical reason for humans to turn into dwarves/gnomes?
Given small computational resources how navigation was implemented ( Not Samples of old guidance software)
My cat gets angry and scared at me if I stand
What's the short and accented note at the very end of a song called?
Some lesser known open problems/ conjectures in number theory
In this context which is better: astuta or intelligente?
How are astronauts in the ISS protected from electric shock?
What is the business model of discounted gift cards?
RX vs TX operation in Software UART
Why doesn't the nucleus have "nucleus-probability cloud"?
Mutate my DNA sequence
What can I wear to avoid getting frisked and crotch searched by TSA at the airport?
Why are one-word titles so dominant in books, film, and games?
Can someone interview their sibling?
How to delete music as it's being played
Can a company prevent a co-author of a paper to put his name on it?
LVM root 100% usage
Ubuntu server terminal?“system reserved” windows partition showed on ubuntu 12.04. Not installed using wubiresize un-allocted space to /root LVMELI5: Resizing PartitionsCannot Get Windows Shares To Work Via Samba On Ubuntu Server 18.04.1 And New Drive; Cannot Change OwnerHelp figuring out what's taking up disk spaceUbuntu show wrong disk sizes, how to solve it?Google Cloud VM memory is being used up 100%
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I've been going round in circles trying to find a fix to this issue, without having to use liveCD and shutting down the server (Ubuntu Server 16.04 LTS). I can no longer update Ubuntu due to a lack of space on the root partition. For some reason on install, 3 years ago, the boot partition was set at 500MB on a 500GB drive, which apart from that partition is empty. But df -h
gives...
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 94M 705M 12% /run
/dev/mapper/SERVER--vg-root 450G 428G 0 100% /
tmpfs 3.9G 208K 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 472M 117M 332M 26% /boot
tmpfs 799M 52K 799M 1% /run/user/1000
Indicating that the root drive is full. Size of folders in root are...
du -h --max-depth=1 -x /
18M /sbin
743M /home
12K /mnt
620K /samba
4.0K /lib64
20K /media
4.0K /srv
8.0K /snap
112K /tmp
713M /lib
16M /bin
16K /lost+found
6.3G /usr
4.0K /opt
64K /repository
456K /root
16M /etc
873M /var
8.6G /
I'm not sure what's taking up all of the space on the sdb5 partition, could be the swap file but lvs
gives...
sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Syn c Convert
root SERVER-vg -wi-ao---- 457.28g
swap_1 SERVER-vg -wi-ao---- 8.00g
Indicating that the swap file is only 8GB. Any help with the best way to tackle this issue would be much appreciated.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part /mnt/MB
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 487M 0 part /boot
└─sdb5 8:21 0 465.3G 0 part
├─SERVER--vg-root 252:0 0 457.3G 0 lvm /
└─SERVER--vg-swap_1 252:1 0 8G 0 lvm [SWAP]
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part /mnt/ADMIN
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part /mnt/BACKUP I
sr0 11:0 1 1024M 0 rom
sudo du -aBM -d 1 . | sort -nr | head -20
du: cannot access './proc/21524/task/21524/fd/4': No such file or directory
du: cannot access './proc/21524/task/21524/fdinfo/4': No such file or directory
du: cannot access './proc/21524/fd/3': No such file or directory
du: cannot access './proc/21524/fdinfo/3': No such file or directory
du: cannot access './run/user/1000/gvfs': Permission denied
2751763M .
2742812M ./mnt
6363M ./usr
873M ./var
743M ./home
713M ./lib
114M ./boot
96M ./run
18M ./sbin
16M ./etc
16M ./bin
1M ./tmp
1M ./srv
1M ./snap
1M ./samba
1M ./root
1M ./repository
1M ./opt
1M ./media
1M ./lost+found
server partitioning disk-usage lvm
|
show 6 more comments
I've been going round in circles trying to find a fix to this issue, without having to use liveCD and shutting down the server (Ubuntu Server 16.04 LTS). I can no longer update Ubuntu due to a lack of space on the root partition. For some reason on install, 3 years ago, the boot partition was set at 500MB on a 500GB drive, which apart from that partition is empty. But df -h
gives...
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 94M 705M 12% /run
/dev/mapper/SERVER--vg-root 450G 428G 0 100% /
tmpfs 3.9G 208K 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 472M 117M 332M 26% /boot
tmpfs 799M 52K 799M 1% /run/user/1000
Indicating that the root drive is full. Size of folders in root are...
du -h --max-depth=1 -x /
18M /sbin
743M /home
12K /mnt
620K /samba
4.0K /lib64
20K /media
4.0K /srv
8.0K /snap
112K /tmp
713M /lib
16M /bin
16K /lost+found
6.3G /usr
4.0K /opt
64K /repository
456K /root
16M /etc
873M /var
8.6G /
I'm not sure what's taking up all of the space on the sdb5 partition, could be the swap file but lvs
gives...
sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Syn c Convert
root SERVER-vg -wi-ao---- 457.28g
swap_1 SERVER-vg -wi-ao---- 8.00g
Indicating that the swap file is only 8GB. Any help with the best way to tackle this issue would be much appreciated.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part /mnt/MB
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 487M 0 part /boot
└─sdb5 8:21 0 465.3G 0 part
├─SERVER--vg-root 252:0 0 457.3G 0 lvm /
└─SERVER--vg-swap_1 252:1 0 8G 0 lvm [SWAP]
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part /mnt/ADMIN
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part /mnt/BACKUP I
sr0 11:0 1 1024M 0 rom
sudo du -aBM -d 1 . | sort -nr | head -20
du: cannot access './proc/21524/task/21524/fd/4': No such file or directory
du: cannot access './proc/21524/task/21524/fdinfo/4': No such file or directory
du: cannot access './proc/21524/fd/3': No such file or directory
du: cannot access './proc/21524/fdinfo/3': No such file or directory
du: cannot access './run/user/1000/gvfs': Permission denied
2751763M .
2742812M ./mnt
6363M ./usr
873M ./var
743M ./home
713M ./lib
114M ./boot
96M ./run
18M ./sbin
16M ./etc
16M ./bin
1M ./tmp
1M ./srv
1M ./snap
1M ./samba
1M ./root
1M ./repository
1M ./opt
1M ./media
1M ./lost+found
server partitioning disk-usage lvm
Welcome to Ask Ubuntu! The space on sdb5 is most likely fully taken by the LVM physical volume, you can see it by runninglsblk
. Can yourdu
call access all the files (i.e. doesn’t it print any errors)? Consider running it withsudo
for the root directory.
– Melebius
May 29 at 11:44
1
To help find where the space is used, trycd /
and thensudo du -aBM -d 1 . | sort -nr | head -20
- this command will take a short while to run the first time, as it scans the directory tree, but you can then descend into the larger directories to see where the problem lies.
– Charles Green
May 29 at 13:36
Thanks Charles. Added that output above as well as it came up with a few du errors which may be of relevance to the problem?
– Neabhan
May 29 at 13:51
2
@Neabhan second thing: If you plug in a drive and use /mnt normally say for backup? But for some reason one day, your drive is not plugged in while backup is running, then the files get written to subdirectories under /mnt - when the drive is plugged in, those directories are masked and you cannot see them.
– Charles Green
May 29 at 14:23
1
@Neabhan Final thing: Modify the command tosudo du -xaBM -d 1 . | sort -nr | head -20
(added -x option) and it should not cross filesystem boundaries.
– Charles Green
May 29 at 14:25
|
show 6 more comments
I've been going round in circles trying to find a fix to this issue, without having to use liveCD and shutting down the server (Ubuntu Server 16.04 LTS). I can no longer update Ubuntu due to a lack of space on the root partition. For some reason on install, 3 years ago, the boot partition was set at 500MB on a 500GB drive, which apart from that partition is empty. But df -h
gives...
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 94M 705M 12% /run
/dev/mapper/SERVER--vg-root 450G 428G 0 100% /
tmpfs 3.9G 208K 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 472M 117M 332M 26% /boot
tmpfs 799M 52K 799M 1% /run/user/1000
Indicating that the root drive is full. Size of folders in root are...
du -h --max-depth=1 -x /
18M /sbin
743M /home
12K /mnt
620K /samba
4.0K /lib64
20K /media
4.0K /srv
8.0K /snap
112K /tmp
713M /lib
16M /bin
16K /lost+found
6.3G /usr
4.0K /opt
64K /repository
456K /root
16M /etc
873M /var
8.6G /
I'm not sure what's taking up all of the space on the sdb5 partition, could be the swap file but lvs
gives...
sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Syn c Convert
root SERVER-vg -wi-ao---- 457.28g
swap_1 SERVER-vg -wi-ao---- 8.00g
Indicating that the swap file is only 8GB. Any help with the best way to tackle this issue would be much appreciated.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part /mnt/MB
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 487M 0 part /boot
└─sdb5 8:21 0 465.3G 0 part
├─SERVER--vg-root 252:0 0 457.3G 0 lvm /
└─SERVER--vg-swap_1 252:1 0 8G 0 lvm [SWAP]
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part /mnt/ADMIN
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part /mnt/BACKUP I
sr0 11:0 1 1024M 0 rom
sudo du -aBM -d 1 . | sort -nr | head -20
du: cannot access './proc/21524/task/21524/fd/4': No such file or directory
du: cannot access './proc/21524/task/21524/fdinfo/4': No such file or directory
du: cannot access './proc/21524/fd/3': No such file or directory
du: cannot access './proc/21524/fdinfo/3': No such file or directory
du: cannot access './run/user/1000/gvfs': Permission denied
2751763M .
2742812M ./mnt
6363M ./usr
873M ./var
743M ./home
713M ./lib
114M ./boot
96M ./run
18M ./sbin
16M ./etc
16M ./bin
1M ./tmp
1M ./srv
1M ./snap
1M ./samba
1M ./root
1M ./repository
1M ./opt
1M ./media
1M ./lost+found
server partitioning disk-usage lvm
I've been going round in circles trying to find a fix to this issue, without having to use liveCD and shutting down the server (Ubuntu Server 16.04 LTS). I can no longer update Ubuntu due to a lack of space on the root partition. For some reason on install, 3 years ago, the boot partition was set at 500MB on a 500GB drive, which apart from that partition is empty. But df -h
gives...
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 94M 705M 12% /run
/dev/mapper/SERVER--vg-root 450G 428G 0 100% /
tmpfs 3.9G 208K 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 472M 117M 332M 26% /boot
tmpfs 799M 52K 799M 1% /run/user/1000
Indicating that the root drive is full. Size of folders in root are...
du -h --max-depth=1 -x /
18M /sbin
743M /home
12K /mnt
620K /samba
4.0K /lib64
20K /media
4.0K /srv
8.0K /snap
112K /tmp
713M /lib
16M /bin
16K /lost+found
6.3G /usr
4.0K /opt
64K /repository
456K /root
16M /etc
873M /var
8.6G /
I'm not sure what's taking up all of the space on the sdb5 partition, could be the swap file but lvs
gives...
sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Syn c Convert
root SERVER-vg -wi-ao---- 457.28g
swap_1 SERVER-vg -wi-ao---- 8.00g
Indicating that the swap file is only 8GB. Any help with the best way to tackle this issue would be much appreciated.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part /mnt/MB
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 487M 0 part /boot
└─sdb5 8:21 0 465.3G 0 part
├─SERVER--vg-root 252:0 0 457.3G 0 lvm /
└─SERVER--vg-swap_1 252:1 0 8G 0 lvm [SWAP]
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part /mnt/ADMIN
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part /mnt/BACKUP I
sr0 11:0 1 1024M 0 rom
sudo du -aBM -d 1 . | sort -nr | head -20
du: cannot access './proc/21524/task/21524/fd/4': No such file or directory
du: cannot access './proc/21524/task/21524/fdinfo/4': No such file or directory
du: cannot access './proc/21524/fd/3': No such file or directory
du: cannot access './proc/21524/fdinfo/3': No such file or directory
du: cannot access './run/user/1000/gvfs': Permission denied
2751763M .
2742812M ./mnt
6363M ./usr
873M ./var
743M ./home
713M ./lib
114M ./boot
96M ./run
18M ./sbin
16M ./etc
16M ./bin
1M ./tmp
1M ./srv
1M ./snap
1M ./samba
1M ./root
1M ./repository
1M ./opt
1M ./media
1M ./lost+found
server partitioning disk-usage lvm
server partitioning disk-usage lvm
edited May 29 at 13:47
Neabhan
asked May 29 at 11:19
NeabhanNeabhan
62 bronze badges
62 bronze badges
Welcome to Ask Ubuntu! The space on sdb5 is most likely fully taken by the LVM physical volume, you can see it by runninglsblk
. Can yourdu
call access all the files (i.e. doesn’t it print any errors)? Consider running it withsudo
for the root directory.
– Melebius
May 29 at 11:44
1
To help find where the space is used, trycd /
and thensudo du -aBM -d 1 . | sort -nr | head -20
- this command will take a short while to run the first time, as it scans the directory tree, but you can then descend into the larger directories to see where the problem lies.
– Charles Green
May 29 at 13:36
Thanks Charles. Added that output above as well as it came up with a few du errors which may be of relevance to the problem?
– Neabhan
May 29 at 13:51
2
@Neabhan second thing: If you plug in a drive and use /mnt normally say for backup? But for some reason one day, your drive is not plugged in while backup is running, then the files get written to subdirectories under /mnt - when the drive is plugged in, those directories are masked and you cannot see them.
– Charles Green
May 29 at 14:23
1
@Neabhan Final thing: Modify the command tosudo du -xaBM -d 1 . | sort -nr | head -20
(added -x option) and it should not cross filesystem boundaries.
– Charles Green
May 29 at 14:25
|
show 6 more comments
Welcome to Ask Ubuntu! The space on sdb5 is most likely fully taken by the LVM physical volume, you can see it by runninglsblk
. Can yourdu
call access all the files (i.e. doesn’t it print any errors)? Consider running it withsudo
for the root directory.
– Melebius
May 29 at 11:44
1
To help find where the space is used, trycd /
and thensudo du -aBM -d 1 . | sort -nr | head -20
- this command will take a short while to run the first time, as it scans the directory tree, but you can then descend into the larger directories to see where the problem lies.
– Charles Green
May 29 at 13:36
Thanks Charles. Added that output above as well as it came up with a few du errors which may be of relevance to the problem?
– Neabhan
May 29 at 13:51
2
@Neabhan second thing: If you plug in a drive and use /mnt normally say for backup? But for some reason one day, your drive is not plugged in while backup is running, then the files get written to subdirectories under /mnt - when the drive is plugged in, those directories are masked and you cannot see them.
– Charles Green
May 29 at 14:23
1
@Neabhan Final thing: Modify the command tosudo du -xaBM -d 1 . | sort -nr | head -20
(added -x option) and it should not cross filesystem boundaries.
– Charles Green
May 29 at 14:25
Welcome to Ask Ubuntu! The space on sdb5 is most likely fully taken by the LVM physical volume, you can see it by running
lsblk
. Can your du
call access all the files (i.e. doesn’t it print any errors)? Consider running it with sudo
for the root directory.– Melebius
May 29 at 11:44
Welcome to Ask Ubuntu! The space on sdb5 is most likely fully taken by the LVM physical volume, you can see it by running
lsblk
. Can your du
call access all the files (i.e. doesn’t it print any errors)? Consider running it with sudo
for the root directory.– Melebius
May 29 at 11:44
1
1
To help find where the space is used, try
cd /
and then sudo du -aBM -d 1 . | sort -nr | head -20
- this command will take a short while to run the first time, as it scans the directory tree, but you can then descend into the larger directories to see where the problem lies.– Charles Green
May 29 at 13:36
To help find where the space is used, try
cd /
and then sudo du -aBM -d 1 . | sort -nr | head -20
- this command will take a short while to run the first time, as it scans the directory tree, but you can then descend into the larger directories to see where the problem lies.– Charles Green
May 29 at 13:36
Thanks Charles. Added that output above as well as it came up with a few du errors which may be of relevance to the problem?
– Neabhan
May 29 at 13:51
Thanks Charles. Added that output above as well as it came up with a few du errors which may be of relevance to the problem?
– Neabhan
May 29 at 13:51
2
2
@Neabhan second thing: If you plug in a drive and use /mnt normally say for backup? But for some reason one day, your drive is not plugged in while backup is running, then the files get written to subdirectories under /mnt - when the drive is plugged in, those directories are masked and you cannot see them.
– Charles Green
May 29 at 14:23
@Neabhan second thing: If you plug in a drive and use /mnt normally say for backup? But for some reason one day, your drive is not plugged in while backup is running, then the files get written to subdirectories under /mnt - when the drive is plugged in, those directories are masked and you cannot see them.
– Charles Green
May 29 at 14:23
1
1
@Neabhan Final thing: Modify the command to
sudo du -xaBM -d 1 . | sort -nr | head -20
(added -x option) and it should not cross filesystem boundaries.– Charles Green
May 29 at 14:25
@Neabhan Final thing: Modify the command to
sudo du -xaBM -d 1 . | sort -nr | head -20
(added -x option) and it should not cross filesystem boundaries.– Charles Green
May 29 at 14:25
|
show 6 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1147086%2flvm-root-100-usage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1147086%2flvm-root-100-usage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to Ask Ubuntu! The space on sdb5 is most likely fully taken by the LVM physical volume, you can see it by running
lsblk
. Can yourdu
call access all the files (i.e. doesn’t it print any errors)? Consider running it withsudo
for the root directory.– Melebius
May 29 at 11:44
1
To help find where the space is used, try
cd /
and thensudo du -aBM -d 1 . | sort -nr | head -20
- this command will take a short while to run the first time, as it scans the directory tree, but you can then descend into the larger directories to see where the problem lies.– Charles Green
May 29 at 13:36
Thanks Charles. Added that output above as well as it came up with a few du errors which may be of relevance to the problem?
– Neabhan
May 29 at 13:51
2
@Neabhan second thing: If you plug in a drive and use /mnt normally say for backup? But for some reason one day, your drive is not plugged in while backup is running, then the files get written to subdirectories under /mnt - when the drive is plugged in, those directories are masked and you cannot see them.
– Charles Green
May 29 at 14:23
1
@Neabhan Final thing: Modify the command to
sudo du -xaBM -d 1 . | sort -nr | head -20
(added -x option) and it should not cross filesystem boundaries.– Charles Green
May 29 at 14:25