Can I list the files and directories on a logical volume

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I have a logical volume, /dev/dm-0 that is 95% full. I want to delete some directories and files from it to free up space.



How can I access the content of this logical volume?







share|improve this question


















  • 1




    A volume is like a partition - AFAIK it will need to be mounted in order to perform file operations.
    – steeldriver
    Apr 18 at 22:03










  • I understand the volume is spread across physical volumes, but since data is written on the volume, there must be way to list the files on it and manipulate those files and directories (edit files, delete files, directories, etc).
    – Arin
    Apr 18 at 22:15










  • My bad. Forget my last comment. Long day here. See superuser.com/questions/1052403/100-usage-dev-dm-1 as that might help. If you run the df command it will show you the mount where it is.
    – Terrance
    Apr 18 at 22:43










  • Thanks @Terrance. I ran df -h, and it shows where it is mounted. But when I run ls -la in that directory, it only shows the files and subdirs in the dir, not this mounted volume. The volume has over 100GB on it, none of the files or subdirs in the mount point dir are over 300KB.
    – Arin
    Apr 18 at 22:43










  • Checking out the link, thanks
    – Arin
    Apr 18 at 22:45














up vote
1
down vote

favorite












I have a logical volume, /dev/dm-0 that is 95% full. I want to delete some directories and files from it to free up space.



How can I access the content of this logical volume?







share|improve this question


















  • 1




    A volume is like a partition - AFAIK it will need to be mounted in order to perform file operations.
    – steeldriver
    Apr 18 at 22:03










  • I understand the volume is spread across physical volumes, but since data is written on the volume, there must be way to list the files on it and manipulate those files and directories (edit files, delete files, directories, etc).
    – Arin
    Apr 18 at 22:15










  • My bad. Forget my last comment. Long day here. See superuser.com/questions/1052403/100-usage-dev-dm-1 as that might help. If you run the df command it will show you the mount where it is.
    – Terrance
    Apr 18 at 22:43










  • Thanks @Terrance. I ran df -h, and it shows where it is mounted. But when I run ls -la in that directory, it only shows the files and subdirs in the dir, not this mounted volume. The volume has over 100GB on it, none of the files or subdirs in the mount point dir are over 300KB.
    – Arin
    Apr 18 at 22:43










  • Checking out the link, thanks
    – Arin
    Apr 18 at 22:45












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have a logical volume, /dev/dm-0 that is 95% full. I want to delete some directories and files from it to free up space.



How can I access the content of this logical volume?







share|improve this question














I have a logical volume, /dev/dm-0 that is 95% full. I want to delete some directories and files from it to free up space.



How can I access the content of this logical volume?









share|improve this question













share|improve this question




share|improve this question








edited Apr 18 at 22:18









ubashu

2,23721736




2,23721736










asked Apr 18 at 21:55









Arin

612




612







  • 1




    A volume is like a partition - AFAIK it will need to be mounted in order to perform file operations.
    – steeldriver
    Apr 18 at 22:03










  • I understand the volume is spread across physical volumes, but since data is written on the volume, there must be way to list the files on it and manipulate those files and directories (edit files, delete files, directories, etc).
    – Arin
    Apr 18 at 22:15










  • My bad. Forget my last comment. Long day here. See superuser.com/questions/1052403/100-usage-dev-dm-1 as that might help. If you run the df command it will show you the mount where it is.
    – Terrance
    Apr 18 at 22:43










  • Thanks @Terrance. I ran df -h, and it shows where it is mounted. But when I run ls -la in that directory, it only shows the files and subdirs in the dir, not this mounted volume. The volume has over 100GB on it, none of the files or subdirs in the mount point dir are over 300KB.
    – Arin
    Apr 18 at 22:43










  • Checking out the link, thanks
    – Arin
    Apr 18 at 22:45












  • 1




    A volume is like a partition - AFAIK it will need to be mounted in order to perform file operations.
    – steeldriver
    Apr 18 at 22:03










  • I understand the volume is spread across physical volumes, but since data is written on the volume, there must be way to list the files on it and manipulate those files and directories (edit files, delete files, directories, etc).
    – Arin
    Apr 18 at 22:15










  • My bad. Forget my last comment. Long day here. See superuser.com/questions/1052403/100-usage-dev-dm-1 as that might help. If you run the df command it will show you the mount where it is.
    – Terrance
    Apr 18 at 22:43










  • Thanks @Terrance. I ran df -h, and it shows where it is mounted. But when I run ls -la in that directory, it only shows the files and subdirs in the dir, not this mounted volume. The volume has over 100GB on it, none of the files or subdirs in the mount point dir are over 300KB.
    – Arin
    Apr 18 at 22:43










  • Checking out the link, thanks
    – Arin
    Apr 18 at 22:45







1




1




A volume is like a partition - AFAIK it will need to be mounted in order to perform file operations.
– steeldriver
Apr 18 at 22:03




A volume is like a partition - AFAIK it will need to be mounted in order to perform file operations.
– steeldriver
Apr 18 at 22:03












I understand the volume is spread across physical volumes, but since data is written on the volume, there must be way to list the files on it and manipulate those files and directories (edit files, delete files, directories, etc).
– Arin
Apr 18 at 22:15




I understand the volume is spread across physical volumes, but since data is written on the volume, there must be way to list the files on it and manipulate those files and directories (edit files, delete files, directories, etc).
– Arin
Apr 18 at 22:15












My bad. Forget my last comment. Long day here. See superuser.com/questions/1052403/100-usage-dev-dm-1 as that might help. If you run the df command it will show you the mount where it is.
– Terrance
Apr 18 at 22:43




My bad. Forget my last comment. Long day here. See superuser.com/questions/1052403/100-usage-dev-dm-1 as that might help. If you run the df command it will show you the mount where it is.
– Terrance
Apr 18 at 22:43












Thanks @Terrance. I ran df -h, and it shows where it is mounted. But when I run ls -la in that directory, it only shows the files and subdirs in the dir, not this mounted volume. The volume has over 100GB on it, none of the files or subdirs in the mount point dir are over 300KB.
– Arin
Apr 18 at 22:43




Thanks @Terrance. I ran df -h, and it shows where it is mounted. But when I run ls -la in that directory, it only shows the files and subdirs in the dir, not this mounted volume. The volume has over 100GB on it, none of the files or subdirs in the mount point dir are over 300KB.
– Arin
Apr 18 at 22:43












Checking out the link, thanks
– Arin
Apr 18 at 22:45




Checking out the link, thanks
– Arin
Apr 18 at 22:45















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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026223%2fcan-i-list-the-files-and-directories-on-a-logical-volume%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026223%2fcan-i-list-the-files-and-directories-on-a-logical-volume%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491