From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 26 Nov 2014 19:41:42 +0100 From: Dante To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: References: <1a3157d28f8065b3a7072365eb88e464@hamnavoe.com> <21f6154e232308ece1ecffbffa3ef404@posteo.de> <9188fe9fbafcb22f750c2819d674c708@posteo.de> Message-ID: User-Agent: Posteo Webmail Subject: Re: [9fans] =?utf-8?q?running_plan9_=3A_an_ideal_setup=3F?= Topicbox-Message-UUID: 2e7b671c-ead9-11e9-9d60-3106f5b1d025 Cool, first tester :-). Thanks, Mats! -- Dante On 26.11.2014 19:16, Mats Olsson wrote: > Hi dante! > > In answer to my own question: DONE. Thanks a lot! > > Kind Greetings, > Mats > > 2014-11-26 18:56 GMT+01:00, Mats Olsson : >> Hi! >> >> So "piclone sdU0.0" would be right? I have the script in >> /usr/glenda/home does that matter? >> >> Yours Sincerely, >> Mats >> >> >> 2014-11-26 18:41 GMT+01:00, Dante : >>> Hi Mats, >>> >>> Look in the /dev directory (ls /dev). >>> If you only have the boot device and an additional USB drive (in your >>> case, an USB-to-SD adapter), >>> the boot device shall be /dev/sdM0 and >>> the USB/SD device shall be /dev/sdU0.0 >>> >>> Kind Regards, >>> Dante >>> >>> On 26.11.2014 18:16, Mats Olsson wrote: >>>> Hi dante! >>>> >>>> I copied your piclone script in Plan 9 but even though I've been >>>> digging I can't find out how to get the name of the SD card attached >>>> to the pi on which I want to clone my setup on. So, easily put, what >>>> command do I use to get to know that? So I wonder how to get the >>>> device name of the clean SD in the USB card adapter. In your post >>>> first mentioning the script you wrote: "If the device is recognized >>>> as >>>> "sdUXX", call "piclone sdUXX". Well that is what I want to find out. >>>> If I get that I'm ready to "rock and roll". >>>> >>>> Kind Greetings, >>>> Mats >>>> >>>> 2014-11-18 23:09 GMT+01:00, dante : >>>>> Hi Mats, >>>>> >>>>> I posted it before; unfortunately the archive doesn't save the >>>>> attached >>>>> files. >>>>> Here is the original post: http://9fans.net/archive/2014/08/78. >>>>> >>>>> Please see the attachment for the script. >>>>> >>>>> Cheers, >>>>> Dante >>>>> >>>>> On 18.11.2014 22:28, Mats Olsson wrote: >>>>>> Hi dante! >>>>>> >>>>>> I would appreciate it a lot if you could send the "clone script" >>>>>> that >>>>>> you used to clone the 9pi imate to a larger SD card. Thanks >>>>>> beforehand! >>>>>> >>>>>> Kind Regards, >>>>>> Mats >>>>>> >>>>>> 2014-11-18 21:29 GMT+01:00, Richard Miller <9fans@hamnavoe.com>: >>>>>>>> If you must use a rpi, you should strive to use it as a >>>>>>>> terminal, >>>>>>>> and >>>>>>>> like every other Plan 9 terminal it should use the central file >>>>>>>> server >>>>>>>> without local storage. >>>>>>> >>>>>>> That would be my advice too. As an experiment, I set up a 9picpu >>>>>>> using >>>>>>> the SD card as local storage, working mostly as a secondary smtp >>>>>>> and >>>>>>> imap >>>>>>> server. After a bit less than a year, the SD card suffered a >>>>>>> catastrophic >>>>>>> failure. When I say catastrophic, I mean I can't find any >>>>>>> meaningful >>>>>>> data >>>>>>> anywhere in the first 120MB or so of /dev/sdM0/data ... just >>>>>>> not-quite-random >>>>>>> looking garbage. >>>>>>> >>>>>>> I can't think of any software fault that could wipe out so much >>>>>>> of a >>>>>>> disk, with no respect for partition boundaries (the dos partition >>>>>>> in >>>>>>> the first 64MB had not been mounted). But I also know too little >>>>>>> about >>>>>>> the internals of SD cards to understand how they fail. Maybe >>>>>>> some >>>>>>> internal logical-to-physical block mapping table went bad? >>>>>>> >>>>>>> Anyway, it's just one anecdotal data point, but I wouldn't be >>>>>>> happy >>>>>>> running any plan 9 machine with an SD card as the main >>>>>>> filesystem. >>>>>>> >>>>>>> >>>>>>> >>> >>> >>