Page 1 sur 1

Impossible supprimer un dossier snapshot Timeshift

Posté : sam. 19 janv. 2019 17:25
par mylapk
Salut,
j'ai un dossier Timeshift que j'essaie de supprimer autant en graphique qu'en terminal. Voici un compte rendu du terminal

Code : Tout sélectionner

drwxr-xr-x 5 root root 4096 jan 19 11:00 snapshots
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-boot
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-daily
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-hourly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-monthly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-ondemand
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-weekly
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift# cd snapshots
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# cd 2018-08-07_11-00-01/
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots/2018-08-07_11-00-01# cd ..
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -fR 2018-08-07_11-00-01/
rm: impossible de supprimer '2018-08-07_11-00-01/localhost/usr/src/linux-headers-4.15.0-30/arch/sparc/prom/Makefile': La structure a besoin d'un nettoyage
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -f -R
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -f R 2018-08-07_11-00-01/
rm: impossible de supprimer '2018-08-07_11-00-01/': est un dossier
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# rm -R -f 2018-08-07_11-00-01/
rm: impossible de supprimer '2018-08-07_11-00-01/localhost/usr/src/linux-headers-4.15.0-30/arch/sparc/prom/Makefile': La structure a besoin d'un nettoyage
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# ^C
root@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots# 
Le terminal me dit que la structure a besoin d'un nettoyage. Je suis bloqué là! :(

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : sam. 19 janv. 2019 21:38
par tyrry
Slt ,

Code : Tout sélectionner

cd /mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots

Code : Tout sélectionner

sudo rm -rf /2018-08-07_11-00-01
@+

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : sam. 19 janv. 2019 23:07
par mylapk
Slt tyrry,
ça marche pas :cry:
voici une copie de ce que j'ai fait en terminal ( ce que tu proposais ):

Code : Tout sélectionner

michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1$ cd timeshift/
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift$ ls -l
total 28
drwxr-xr-x 5 root root 4096 jan 19 11:00 snapshots
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-boot
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-daily
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-hourly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-monthly
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-ondemand
drwxr-xr-x 2 root root 4096 jan 19 11:05 snapshots-weekly
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift$ cd snapshots
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ sudo rm -rf 2018-08-07_11-00-01/
[sudo] Mot de passe de michel :         
rm: impossible de supprimer '2018-08-07_11-00-01/localhost/usr/src/linux-headers-4.15.0-30/arch/sparc/prom/Makefile': La structure a besoin d'un nettoyage
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ sudo rm -rf /2018-08-07_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ls -l
total 12
drwxr-xr-x 3 root root 4096 aoû 12 11:04 2018-08-07_11-00-01
drwxr-xr-x 3 root root 4096 jan 18 11:04 2019-01-18_11-00-02
drwxr-xr-x 3 root root 4096 jan 19 11:05 2019-01-19_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ sudo rm -rf /2018-08-07_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ls
2018-08-07_11-00-01  2019-01-18_11-00-02  2019-01-19_11-00-01
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ ^C
michel@michel-Lenovo-G560:/mnt/usb-TOSHIBA_External_USB_3.0_20131006036622-0:0-part1/timeshift/snapshots$ 
Le dossier est toujours là. :-o

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : dim. 20 janv. 2019 07:48
par tyrry
Slt ,
heu ça sort d'ou ce usr/src/linux-headers-4.15.0-30/arch/sparc/ ,, tu as essayer de compiler un noyau ?
Sinon pour le supprimer , si le rm -rf suffit pas , le mieux sera de passer en live usb/dvd de passer en root sur le live par sudo -s puis de refaire les manips ;)
@+

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : dim. 20 janv. 2019 17:13
par mylapk
Slt tyrry,
je ne sais pas d'où ça sort. :-o :!: :?:
Je vais passer par le live et on verra. J't'en reparlerai. :)
Ciao. :D

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : dim. 20 janv. 2019 17:55
par mylapk
Slt!
De retour après essai de la solution de tyrry.
En live, j'obtiens le même message ( en root en graphique ): impossible de supprimer: a besoin d'un nettoyage de structure. :-o :shock:
:?:

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : mar. 22 janv. 2019 16:31
par mylapk
Bonjour,
mais pourquoi ne puis-je supprimer ce fichier de timeshift, même en root? Même en live?
J'ai supprimé/désinstallé timeshift. Mais ce fichier était toujours là dans snapshots. Je l'ai renommé et déplacé ailleurs sur mon dd ext. Puis j'ai réinstallé timeshift. Ce fichier ne se retrouve pas dans la nouvelle installation, il est rangé ailleurs mais refuse d'être supprimé pour la raison que sa structure a besoin d'un nettoyage. :-o Qu'est-ce que je peux faire pour faire ce nettoyage s'il en est afin de supprimer?
Merci. ;)

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : mar. 22 janv. 2019 17:41
par tyrry
Slt ,
alors essais avec fsck : https://doc.ubuntu-fr.org/fsck
@+

Re: Impossible supprimer un dossier snapshot Timeshift

Posté : mer. 23 janv. 2019 17:03
par mylapk
Salut cyrille,
finalement j'abandonne. Trop de terminal avec lequel je ne suis pas à l'aise. J'ai peur de créer plus de problèmes que je vais en régler. Et finalement, il va rester là ce fichu fichier, dans son petit coin, avec un nouveau nom, et je vais essayer de l'oulier.
Merci beaucoup. :)