Suuren tiedostomäärän poisto (Time Machine -tiedostot)
-
- Viestit: 28
- Liittynyt: 19.1.2010 klo 9.00
- Paikkakunta: Nokia
Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja pv2010 »
(Ongelmani ei liity varsinaisesti Time Machineen; siksi kirjoitin tähän osioon.)
Jossain vaiheessa Time Machine -kovalevyni rupesi temppuilemaan, en enää muista tarkalleen miten. Kopioin silloin Time Machine -levyltä koko Backups.backupdb -kansion työpöydälle turvaan, ja yritin ratkaista kovalevyn ongelmaa, mm. formatoimalla. Ajattelin silloin, että siirrän Backups... -kansion sitten vain takaisin.
No nyt on aikaa jo kulunut sen verran paljon, että työpöydällä oleva varmuuskopio on turha ja sen saisi poistaa. Mutta kansio sisältöineen on tietysti todella suuri. Sen saa vietyä roskakoriin, mutta roskakorin tyhjentäminen ei onnistukaan. Olen aiheesta googlettanut, ja löysinkin vinkin, että Päätteessä voi käyttää esim. komentoa "rm -r -f [kansionnimi]/", joka poistaa ko. kansion ja sen alakansiot tiedostoineen siirtämättä niitä roskakoriin. Eräässä toisessa tapauksessa se toimikin, mutta näiden TM-tiedostojen osalta tulee käyttöoikeusongelma. TM-tiedostothan ovat ainakin osittain jotain järjestelmätiedostoja, eikö?
Koneeseen on asennettu sisäänkirjautumissalasana, ja jos poistan Backups...-kansiosta yhden alakansion (sellaisen pvm-muotoisen) käsin, pitää salasana antaa. Mutta Päätteen komento ei sitä (tietysti) tiedä. Eikä kysy. Käsin poistokaan ei toiminut kaikkien kansioiden kohdalla.
Siis: miten Backups.backupdb -kansion saa tuhottua siirtämättä sitä roskikseen? Voisiko Pääte-komentoon syöttää jonkun option avulla salasanan?
Niin noita Päätteen komentoehdotuksia löytyy netin keskustelupalstoilta useitakin, mutta kohta joku toinen jo kommentoi, että "ei toimi, koska... kernel jotain... / käsittelee eri tavalla.... / lataa muistiin... sitä-sun-tätä...". Eli en ole uskaltanut kokeilla, koska olen aika noviisi koneen sielunelämän kanssa.
Kiitos kaikista vinkeistä!
iPhone 5S
-
- Ylläpitäjä
- Viestit: 12897
- Liittynyt: 29.6.2006 klo 11.16
- Paikkakunta: Helsinki
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja egoste »
-
- Viestit: 182
- Liittynyt: 21.2.2009 klo 11.49
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja tarupi »
-
- Viestit: 28
- Liittynyt: 19.1.2010 klo 9.00
- Paikkakunta: Nokia
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja pv2010 »
Poistin aluksi vanhemman "[käyttäjätunnus] 2":n ja tyhjensin roskakorin. Poistettavia tiedostoja oli alussa yli 30 000 kpl. Ne hupenivat nopeasti, parissa minuutissa ehkä, jopa nopeammin. Alussa tuli myös varmistus, haluanko poistaa kaikki kohteet, myös lukitut. Valitsin "Poista kaikki kohteet".
Kun poistettavat kohteet hupenivat nollaan, oli myös etenemispalkki ehtinyt täyteen mittaansa. Tämän jälkeen poistettavat kohteet alkoi kasvaa, mutta miinusmerkkisenä, aivan kuten egoste arveli. Luku jatkoi kasvuaa 2-3 tuntia ja lopussa luku oli n. -700 000 ... -800 000 (ehkä selvästi enemmänkin, en istunut seuraamassa). Eli yli 20-kertainen määrä kuin alussa.
Lopulta ikkuna katosi. Mutta roskakorissa on vielä poistettu kansio "[käyttäjätunnus] 2". Voi olla, että sen alla olevia TM:n päivämääräkansioita on vähemmän kuin alussa - en ole varma. Käynnistin tietokoneen uudestaan siinä toivossa, että kyseessä on joku päivittämätön tieto roskakorin sisällöstä. Mutta ei, siellä se on.
Jos tyhjennän roskakorin uudestaan, se on nopea toimenpide; poistettavia kohteita on n. 450. Mutta muutosta ei tapahdu.
Kokeilin myös laittaa Finderin asetuksissa päälle "Tyhjennä roskakori turvallisesti": ei vaikutusta.
Lisää ideoita? Ai tässä välissä on tullut toinenkin vinkki - katsotaan...
iPhone 5S
-
- Viestit: 28
- Liittynyt: 19.1.2010 klo 9.00
- Paikkakunta: Nokia
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja pv2010 »
Jätin työpäivän jälkeen yöksi suorittamaan tätä komentoa. Nyt aamulla Päätteessä on satoja rivejä raporttia, esim:tarupi kirjoitti:Kokeile komennolla 'sudo rm -r -f kansionnimi'
rm: [käyttäjätunnus]/[vvvv-kk-pp-xxxxxx]/Macintosh HD/Library/Application Support/Apple/Mail: Invalid argument
Aina siis joku polku ja lopussa virheilmoitus. "Invalid argument" on näköjään yleinen, toinen toistuva on "Directory not empty". Aika paljon sieltä on kuitenkin poistunut. TM-päivämääräkansioita voi olla suunnilleen sama määrä, mutta kokonaiskoko sentään tulee näkyviin, n. 70 gigaa. TM-alakansioihin jääneitä tiedostoja on jo aika vähän, ja ne ovat esim. sovelluksia (mm. iTunes, iWeb, Photoshop Elements). No jaa, muita tiedostotyyppejä en nyt löytänytkään. Sitten on vain tyhjiä kansioita, joita ei saa manuaalisestikaan pois.
Tähän edelliseen kohtaan liittyen:
Roskakorissa olevan kansion koko onkin vain n. 18 megaa. Mutta siellä se vain pysyy. Kokeilin niinkin, että siirsin roskikseen muutakin turhaa työpöydältä. Uusi tyhjennys: Time Machine -jälkeläinen jää, uusi roska poistuu.pv2010 kirjoitti:Mutta roskakorissa on vielä poistettu kansio "[käyttäjätunnus] 2". Voi olla, että sen alla olevia TM:n päivämääräkansioita on vähemmän kuin alussa - en ole varma. ..... Jos tyhjennän roskakorin uudestaan, se on nopea toimenpide; poistettavia kohteita on n. 450. Mutta muutosta ei tapahdu.
iPhone 5S
-
- Viestit: 816
- Liittynyt: 3.1.2012 klo 21.26
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja jurppa »
Kokeile tyhjentää roskakori turvallisesti.pv2010 kirjoitti:Roskakorissa olevan kansion koko onkin vain n. 18 megaa. Mutta siellä se vain pysyy. Kokeilin niinkin, että siirsin roskikseen muutakin turhaa työpöydältä. Uusi tyhjennys: Time Machine -jälkeläinen jää, uusi roska poistuu.
-
- Viestit: 28
- Liittynyt: 19.1.2010 klo 9.00
- Paikkakunta: Nokia
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja pv2010 »
Kokeilinkin sitä jo aiemmin (jälkimmäinen viestini eilen). Kokeilin nyt uudestaan. Ei vaikutusta.jurppa kirjoitti:Kokeile tyhjentää roskakori turvallisesti.
iPhone 5S
-
- Viestit: 389
- Liittynyt: 23.2.2009 klo 14.15
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja Zarquon »
-
- Viestit: 28
- Liittynyt: 19.1.2010 klo 9.00
- Paikkakunta: Nokia
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja pv2010 »
Dock auki, hiiri roskakorin kohdalle, alt pohjaan, klikkaa hiiren oikeaa ja valitse "Tyhjennä roskakori". Luulisi toimivan myös roskakorin ollessa auki sen oikean yläkulman Tyhjennä -napin kanssa.
Tilanne oli siis se, että n. 18 megan Time Machine -jäänne ei suostunut poistumaan, ei Tyhjennä turvallisesti -valinnallakaan. Eikä sitä kansiota saanut siirrettyä muualle, ainoastaan kopioitua.
iPhone 5S
-
- Viestit: 12135
- Liittynyt: 24.4.2005 klo 23.47
- Paikkakunta: Helsinki
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja homenamsi »
Muistaakseni olen silloin kopioinut vähät muut kamat muualle ja tyhjentänyt osion kiertoratkaisuna.
-
- Viestit: 386
- Liittynyt: 26.11.2004 klo 17.50
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja hnu »
t. Hanu
-
- Viestit: 386
- Liittynyt: 26.11.2004 klo 17.50
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja hnu »
Olen yrittänyt poistaa noita Backups.backupdb-kansiossa olevia kansioita, mutta ei onnistu.
t. Hanu
-
- Viestit: 386
- Liittynyt: 26.11.2004 klo 17.50
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja hnu »
t. Hanu
-
- Viestit: 12135
- Liittynyt: 24.4.2005 klo 23.47
- Paikkakunta: Helsinki
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja homenamsi »
Jos se on vain TM-käytössä niin TM hoitaa itse tilan vapauttamisen vanhimmasta päästä varmistuksia.
Sinne xxx.sparsebundle -paketin hakemistoihin ei pidä kopiointia kummemmin mennä sorkkimaan, koska silloin koko varmistuksen rakenne rikkoutuu.
-
- Viestit: 386
- Liittynyt: 26.11.2004 klo 17.50
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja hnu »
Ajattelin nyt käydä ostamassa uuden varmuuskopiolevyn, mutta mitä tälle vanhalle voisi tehdä, että sen roskakoriongelman saisi korjatuksi. Se esiintyy, vaikka sen kytkee toiseen koneeseen, mikä on kyllä outoa. Se ilmoittaa, että jotkut kansiot ja tiedostot ovat käytössä, vaikka niitä ei edes ole koneella (paitsi roskakorissa). Kun olen saanut tärkeät tiedostot talteen, voin kokeilla onnistuisiko roskakorin tyhjennys jollain muulla käyttöjärjestelmäversiolla tai viimeisenä vaihtoehtona uudelleen formatointi. Varsinaisesti en tarvitse TM:n tekemiä varmuuskopioita, koska sain sillä palautetuksi Sierran ja siinä aion pysyä toistaiseksi. Kopiot valokuvista, videoista jne. ovat tärkeämpiä ja ne ovat lisäksi omissa kansioissaan.
Mitä jos palauttaisin koneen versioon, jossa se oli ennen kuin aloin sorkkia TM:n varmuuskopioita? Mahtaisiko onnistua?
t. Hanu
-
- Viestit: 12135
- Liittynyt: 24.4.2005 klo 23.47
- Paikkakunta: Helsinki
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja homenamsi »
Helpointa on siirtää muut tiedostot pois varmistuslevyltä ja formatoida se uudelleen joko TimeCapsule-kotelossa varmistuslevyksi AirPort-työkalulla tai sitten normaaliksi levyksi muutoin. Olettaen, että se varmistus on mennyt rikki käsittelyssä eikä sillä ole siten käyttöarvoa.
-
- Viestit: 1568
- Liittynyt: 4.10.2010 klo 21.05
- Paikkakunta: Turku/Raisio
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja Don MC »
Jos jostain syystä haluan poistaa tuon varmuuskopion, teen sen Synologyn WebIF:n kautta (File Station). Menee PALJON vikkelämmin kuin Finderin kautta.
Plus (alati pienenevä) läjä eri kilpailijoiden kamaa.
-
- Viestit: 386
- Liittynyt: 26.11.2004 klo 17.50
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja hnu »
Vanhan Time machinen 2 Tt levyn formatoin uudestaan ja sinne tulee nyt uudet TM -varmuuskopiot.
Koneessa on 500 Gt:n sisäinen levy, joka on noin puolillaan. Sekin uhkasi täyttyä, mutta lopetin videoiden tallentamisen sinne. Ennen tein aina valokuvista ja videoista cd/DVD/blueray -tallenteet, mutta nyt tyydyn noihin kahteen ulkoiseen levyyn. Eiköhän näillä pärjätä jonkin aikaa.
t. Hanu
-
- Viestit: 1568
- Liittynyt: 4.10.2010 klo 21.05
- Paikkakunta: Turku/Raisio
Re: Suuren tiedostomäärän poisto (Time Machine -tiedostot)
Viesti Kirjoittaja Don MC »
Plus (alati pienenevä) läjä eri kilpailijoiden kamaa.
Palaa sivulle “Käyttöjärjestelmät”
- Yleiset aiheet
- ↳ Ajankohtaista Apple-maailmasta
- ↳ Käyttöjärjestelmät
- ↳ Ohjelmat
- ↳ Yleiskeskustelu
- Mac ja oheislaitteet
- ↳ Yleiskeskustelu laitteista
- ↳ MacBook, MacBook Pro ja MacBook Air
- ↳ iMac
- ↳ Mac mini
- ↳ Mac Pro ja Mac Studio
- ↳ Ongelmia Macin kanssa?
- iPhone, iPad ja Apple Watch
- ↳ iPhone-, iPad- ja Apple Watch -laitekeskustelu
- ↳ iPhone-, iPad- ja Apple Watch -ohjelmat sekä iOS
- ↳ Ongelmia iPhonen, iPadin tai Apple Watchin kanssa?
- Huviksi ja hyödyksi
- ↳ Off-topic
- ↳ Kuva ja graafinen suunnittelu
- ↳ Audio ja musiikki
- ↳ Video, televisio ja elokuvat
- ↳ Pelit ja pelaaminen
- ↳ Ohjelmointi, skriptit ja palvelimet
- ↳ Tietoturva ja varmuuskopiointi
- ↳ Verkot, mobiilidata ja muut puhelimet
- ↳ Retronurkka
- ↳ Foorumin ylläpito
- Kauppapaikka
- ↳ Myydään Mac
- ↳ Myydään iPhone, iPad ja iPod
- ↳ Myydään muut Applen tuotteet
- ↳ Myydään muuta tietotekniikkaa
- ↳ Ostetaan Mac
- ↳ Ostetaan iPhone, iPad ja iPod
- ↳ Ostetaan muut Applen tuotteet
- ↳ Ostetaan muuta tietotekniikkaa
- ↳ Vaihdetaan, annetaan, työtä haetaan ja tarjotaan
- ↳ Kauppapaikan keskustelu ja hintavinkit