Skip to contentSkip to conversation

list files on a device

DISCUSSION Lubos Kolouch 1 participant 2 messages Dec 29, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello,

After another power loss (I am fortune, am I not?) I have the following situation :

Label: none uuid: ac155851-0e31-4aed-9ba4-ee712506368a

	Total devices 3 FS bytes used 1.02TB
	devid    1 size 931.51GB used 70.00GB path /dev/sdd1
	devid    3 size 1.79TB used 66.52GB path /dev/md2
	devid    2 size 914.70GB used 914.50GB path /dev/sda4

btrfs device delete does not work on both md2 and sdd1 (csum errors).

So what I would like to do is to delete the files either on md2 or sdd1 and then try to remove the volume again (followed by rsync).

Is there a way to find out what files are on each volume?

Thank you

Lubos

#1 lore raw

Lubos Kolouch, Wed, 29 Dec 2010 13:50:41 +0000:

Quoted 8 lines

Hello,

After another power loss (I am fortune, am I not?) I have the following situation :

Label: none uuid: ac155851-0e31-4aed-9ba4-ee712506368a

	Total devices 3 FS bytes used 1.02TB
	devid    1 size 931.51GB used 70.00GB path /dev/sdd1 devid    3 

size

Quoted 5 lines
	1.79TB used 66.52GB path /dev/md2 devid    2 size 914.70GB used
	914.50GB path /dev/sda4

btrfs device delete does not work on both md2 and sdd1 (csum errors).

Quoted 8 lines

So what I would like to do is to delete the files either on md2 or sdd1 and then try to remove the volume again (followed by rsync).

Is there a way to find out what files are on each volume?

Thank you

Lubos

Just FYI, I could "solve" it with a mount -o degraded

Lubos