#qa | Logs for 2015-07-22

« return
[14:17:58] -!- Bytram|alt [Bytram|alt!~a6b50388@166.181.s.wqs] has joined #qa
[14:18:11] -!- janrinok [janrinok!~janrinok@Soylent/Staff/Editor/janrinok] has joined #qa
[14:18:14] <janrinok> ping
[14:18:15] -!- cmn32480 [cmn32480!~cmn32480@Soylent/Staff/Editor/cmn32480] has joined #qa
[14:18:19] <Bytram|alt> bonjour!
[14:18:22] <janrinok> lol everyone is here!
[14:18:28] <Bytram|alt> success!
[14:18:37] <Bytram|alt> ok, I'm ready to boot up the lappy
[14:18:37] <janrinok> OK, is everything ready to go?
[14:18:53] <cmn32480> you gents have any problem if I watch? maybe I'll learn somethign
[14:18:55] <Bytram|alt> I think so, I just need to watch the screen so I can change the boot order
[14:18:56] <janrinok> OK, fire it up, and attach your 1TB
[14:19:14] <Bytram|alt> cmn32480: love to have you aboard
[14:19:15] <janrinok> cmn32480: not at all - although I doubt you will learn much from me...
[14:19:36] <cmn32480> grassy as
[14:19:42] <Bytram|alt> for historical reference, I'm using the SystemRecoveryCd
[14:19:47] * Bytram|alt hits power button
[14:20:01] <janrinok> for hysterical reference, I'm supposed to be helping
[14:20:35] <janrinok> for horticultural reference, cmn32480 is a wallflower
[14:20:53] <cmn32480> I don't need this kind of abuse
[14:21:01] <Bytram|alt> darn! monitor went to standby... I think I mised it
[14:21:04] <cmn32480> do you have any other types that might be more to my liking?
[14:21:13] <Bytram|alt> wait... I hear the CD rom spinning
[14:21:31] <janrinok> for hysterectomy reference, cmn32480 is not a doctor
[14:21:40] <Bytram|alt> nothingon the screens atrm
[14:21:56] * cmn32480 is not a woman either
[14:22:04] <Bytram|alt> (this netbook's kbd is about 90% normal size... forgive typos)
[14:22:19] <janrinok> I'm just a crap typist but man enough to admit it
[14:22:49] <cmn32480> ^^ ditto
[14:23:11] <janrinok> any signs of life Bytram ?
[14:23:15] <Bytram|alt> not looking good... can't see anythingon either the internal lappy display or the external monitor
[14:23:29] <Bytram|alt> darn. just got windows startup screen!
[14:23:31] <Bytram|alt> :/
[14:23:48] * Bytram|alt clicks turn off computer
[14:23:54] <janrinok> don't you just hate it when that happens...?
[14:23:58] <Bytram|alt> 'Windows is shutting down'
[14:24:11] <janrinok> now installing 1 of 439373 updates...
[14:24:22] <Bytram|alt> my monitor likes to hibernate after 30 sec of no input
[14:24:30] <cmn32480> "pleae dopn't turn off your computer.. for 7 m,onths while we fail adn retry
[14:24:49] * Bytram|alt hit escape at the right time.
[14:24:54] <Bytram|alt> booted cd
[14:25:00] <cmn32480> WOO HOO!
[14:25:12] <Bytram|alt> hav SystemRescueCd v4.5.3 menu!
[14:25:21] <janrinok> whose a clever boy then
[14:25:24] <Bytram|alt> there are 7 different boot choices
[14:25:37] <janrinok> which do you fancy?
[14:25:38] <Bytram|alt> I'll take the default recommendation: 1
[14:25:45] <Bytram|alt> iv3e got 30 secs
[14:25:50] <Bytram|alt> default boot options
[14:26:25] <Bytram|alt> loading rescue64.......
[14:26:31] <Bytram|alt> loading initram.igz
[14:26:42] <cmn32480> let us know when you get a prompt
[14:26:50] <Bytram|alt> loafingh kernel modules....
[14:26:56] <janrinok> CD boots are always s l o w
[14:26:57] <Bytram|alt> asking for keymap
[14:27:12] <cmn32480> on hardware that old, i'm not surprised it is loafing
[14:27:17] * Bytram|alt chooses enter for default 'us'
[14:27:31] <Bytram|alt> actually it timed out while I was typing and that's what I got
[14:27:41] <Bytram|alt> watching boot messsages scroll by
[14:28:26] <Bytram|alt> I have prompt!
[14:28:38] <janrinok> does it indicate that you are root?
[14:28:39] <Bytram|alt> root@sysresccd /root %
[14:28:42] <janrinok> yep
[14:28:52] <janrinok> OK, create your mount point
[14:29:03] <Bytram|alt> for future ref, let me record a couple things here.
[14:29:06] <Bytram|alt> bear with me
[14:29:27] <Bytram|alt> type net-setup eth0 to speciy ethernet configuration
[14:29:51] <Bytram|alt> to be sure th34r3 is an ssh server running type /etc/init.d/sshd start
[14:29:54] <janrinok> you can always tell a qa man - they know what they did so they can repeat it again. We mere mortals just press and hope
[14:30:07] <Bytram|alt> avail console t3ext editors; nano vim qemacs zile joe
[14:30:22] <janrinok> nano is the easiest to use
[14:30:35] <Bytram|alt> web browser in the console: elinks www.web-site.org
[14:30:44] <janrinok> but the least powerful - it will do everything that you need today
[14:30:46] <Bytram|alt> type startx to run the graphhcal env
[14:31:01] <janrinok> stay where you are in the console
[14:31:02] <Bytram|alt> x.org comes with the XFCE environment and seceral graphihcal tools:
[14:31:07] <Bytram|alt> partition amnager: gparted
[14:31:13] <Bytram|alt> web browsers: midori
[14:31:21] <janrinok> well, its up to you really
[14:31:27] <Bytram|alt> texxt editors: gvim and geany
[14:31:29] <Bytram|alt> ok.
[14:31:53] <janrinok> ready to continue?
[14:32:01] <Bytram|alt> that's a quick summary of what's on my screen... readyy to proceed
[14:32:33] <janrinok> OK, the benefit of saving your partition to a file image is that, under linux, you can mount a file as though it _is_ a partition
[14:32:54] <janrinok> this means that you can read the contents without having to install it on a computer
[14:33:05] <Bytram|alt> nice. that makes sense! bits are bits -- its how u look at 'em that counts
[14:33:10] <janrinok> so first we need a mount point
[14:33:15] <Bytram|alt> k
[14:34:09] <janrinok> going off what you had yesterday, you should have /dev/sda1 as your installed drive, and /dev/sdb1 as you external drive. Is that correct today?
[14:34:33] <Bytram|alt> I have not yet pluggen in the exxternal drive
[14:34:40] * Bytram|alt types fdisk -l
[14:34:43] <janrinok> best you plug it in then
[14:34:53] * Bytram|alt sees:
[14:35:11] <Bytram|alt> lol!
[14:35:21] <Bytram|alt> me sees: /sev/sda1
[14:35:27] * Bytram|alt plugs in drive
[14:36:02] * Bytram|alt hears cd spin
[14:36:46] <Bytram|alt> fdisk -l now reports both /dev/sda1 and /dev/sda2
[14:37:22] <janrinok> OK, hardware is present but it should be sdb1
[14:37:30] <Bytram|alt> bah
[14:37:53] <Bytram|alt> I see: /dev/sda1 and /dev/sdb1
[14:37:59] <janrinok> correct
[14:38:17] <Bytram|alt> you want anytthing from lshw -c disk ??
[14:38:31] <janrinok> now we have to attach the hardware to the directory structure. Because it is NTFS formatted we use ntfs-3g
[14:38:43] <Bytram|alt> K
[14:39:11] <janrinok> "ntfs-3g /dev/sdb1 'your/mount/point'"
[14:40:10] <janrinok> you should now be able to change directory to your mount point and create and delete files
[14:40:20] <Bytram|alt> for future ref, I note that /dev/sda is an ATA disk with 80GB (74 GiB) and /dev/sdb is SCSI wiotth 1TB 931GiB
[14:40:34] <Bytram|alt> ok, what do I want to use as a mount point?
[14:41:11] <janrinok> I asked you to create a mount point a bit up the page. Just 'mkdir backup' in your home directory
[14:41:44] <Bytram|alt> missed that. by home, you mean where I am right now? /root
[14:41:55] <janrinok> yep - and then 'ntfs-3g /dev/sdb1 ./backup'
[14:42:38] <Bytram|alt> assume I'm five years old....
[14:42:47] <Bytram|alt> mkdir my-mount-point ??
[14:43:15] <Bytram|alt> ohj, doh
[14:43:17] <janrinok> I would suggest that 'backup' is a more meaningful title but you can choose anything you want
[14:43:37] * Bytram|alt issues: mkdir backup
[14:43:57] <janrinok> type 'ls' and confirm you can see your new directory
[14:44:19] * Bytram|alt issues: ls -ltr reports that 'backup' exists
[14:44:28] <Bytram|alt> and that it is a directory
[14:44:44] <janrinok> ok, now 'ntfs-3g /dev/sdb1 ./backup'
[14:45:22] * Bytram|alt types: ntfs-3g /dev/sdb1 ./backup
[14:45:26] * Bytram|alt hears cd spin
[14:45:42] * Bytram|alt has error message; two lines:
[14:46:03] <Bytram|alt> The disk contains an unclean file system (0, 0)
[14:46:25] <Bytram|alt> The file system wasn't safely clonsed on Windows. Fixing.
[14:46:30] <Bytram|alt> and then I get cmd prompt again
[14:46:47] <Bytram|alt> I'm guessing it fixed it?
[14:47:06] <janrinok> try pressing the up arrow once - to replace the previous command on the screen - and then press enter again
[14:47:31] <Bytram|alt> iow retry the ntfs-3g command?
[14:47:36] <janrinok> yep#
[14:47:41] <Bytram|alt> k
[14:47:46] <Bytram|alt> 3 lines msg:
[14:48:05] <Bytram|alt> Mount is denied becasue the NTFS volumee is already exclusively opened.
[14:48:17] <Bytram|alt> The volument may be already mounted, or another software may use it which
[14:48:33] <janrinok> try 'lsblk'
[14:48:34] <Bytram|alt> could be identified for example by the help of the 'fuser' command
[14:48:38] <Bytram|alt> k
[14:49:15] <Bytram|alt> sdb ahas 'chilkd' sdb1 part: /root/backup
[14:49:30] <Bytram|alt> s/ahas/has/
[14:49:32] <janrinok> it has mounted
[14:49:45] <Bytram|alt> s/chilkd/child/
[14:49:48] <Bytram|alt> yay!
[14:49:55] <janrinok> change directory to into backup 'cd backup'
[14:50:10] * Bytram|alt types cd backup
[14:50:18] <janrinok> type 'ls -la'
[14:50:46] <Bytram|alt> 8 dirs and 1 file...
[14:50:48] <Bytram|alt> .
[14:50:49] <Bytram|alt> ..
[14:50:51] <janrinok> bingo
[14:50:52] <Bytram|alt> bin
[14:50:54] <Bytram|alt> Extras
[14:51:01] <Bytram|alt> System volume Information
[14:51:04] <Bytram|alt> User Manuals
[14:51:08] <Bytram|alt> WD Apps for Max
[14:51:13] <Bytram|alt> WD Apps for Windows
[14:51:25] <Bytram|alt> WD Apps Setup.exe
[14:51:27] <Bytram|alt> .
[14:51:31] <Bytram|alt> done
[14:51:37] <Bytram|alt> (ignore last .)
[14:51:43] <janrinok> now all that is 'free' crap from western dig - and is absolutely useless ...
[14:51:59] <Bytram|alt> manuals would be good to have, but I know what you mean
[14:52:06] <janrinok> we will now confirm that we have read write
[14:52:09] <Bytram|alt> i can safely leave them there, right?
[14:52:15] <Bytram|alt> understood
[14:52:20] <janrinok> type 'touch dummy.txt'
[14:52:35] <Bytram|alt> done; file exists!
[14:52:44] <janrinok> and then 'ls -la'
[14:52:58] <Bytram|alt> 0 byte file
[14:53:13] <janrinok> then 'rm dummy.txt' and then 'ls -la' again to prove it has gone
[14:53:27] <Bytram|alt> -rwxrwxrwx 1 root root 0 Jul 22 10:52 dummy.txt
[14:54:05] <Bytram|alt> rm: remove regular empty file *dummy.txt*?
[14:54:09] * Bytram|alt tyoes y
[14:54:09] <janrinok> yes
[14:54:17] <janrinok> brb - 1 min
[14:54:19] <Bytram|alt> it's gone
[14:54:24] <Bytram|alt> k
[14:54:41] <Bytram|alt> good idea. I need a break, too. back in about 5 minutes.
[14:55:43] <cmn32480> I'll still be here when you slackers get back.
[14:56:50] <janrinok> nursing duties and my very small bladder are my excuses
[15:01:12] <Bytram|alt> back
[15:01:16] <janrinok> front
[15:01:25] * Bytram|alt got camera and recorded output of prior commands
[15:01:39] <janrinok> a qa man through and through...
[15:01:42] <Bytram|alt> lol!
[15:02:04] <Bytram|alt> If all goes well, I'm gonna write up an idiots guide for backing up your hard disk
[15:02:10] <janrinok> OK, you will have seen directories marked as '.' and '..'
[15:02:22] <Bytram|alt> yup; current dir and parent dir
[15:02:37] <janrinok> '.' is always here, where you are now, this directory and '..' is the parent immediately above it
[15:02:55] <janrinok> so 'cd ..' will put you back into /root
[15:03:05] <Bytram|alt> understoodd
[15:03:21] <Bytram|alt> I'm now at /root
[15:03:23] <Bytram|alt> pwd
[15:03:40] <janrinok> have you got a second computer working there or just the one?
[15:04:10] <Bytram|alt> hmmm> I've got this netbook that I am using to chat with you, and the lappy that I am trying to backup
[15:04:34] <janrinok> I'll assume you have because you are on IRC and I don't think you have enough fu to do that from the command line
[15:04:42] <janrinok> http://www.dpreview.com
[15:04:52] <Bytram|alt> laptop==HP Pavilion zv60000
[15:04:57] <janrinok> k
[15:05:25] <janrinok> basically, we are going to make a complete image of your 80Gb drive into a file.
[15:05:46] * Bytram|alt clicks link and opens it in new tab (I'm using firefox 24.3.0 atm)
[15:05:50] <Bytram|alt> nod nod
[15:06:23] <Bytram|alt> page is loaded
[15:06:25] <janrinok> the command for you will be: 'ddrescue /dev/sda /root/backup/oldcomp.img' - you can change the oldcomp.img to whatever you want
[15:07:01] <Bytram|alt> given that I've got errors on the source disk, maybe I want to include '-n' ??
[15:07:02] <janrinok> # /dev/sda refers to an entire drive
[15:07:09] <Bytram|alt> k
[15:08:07] <janrinok> # /root/backup/anyoldname is the file that will contain the image
[15:08:20] <janrinok> yes, use the -n if you wish
[15:08:35] <janrinok> this will take a l o n g t i m e
[15:09:05] * Bytram|alt typed: ddrescue --help | less
[15:09:11] <janrinok> and I can't remember what feedback you get - if any - from ddrescue
[15:09:56] <Bytram|alt> I'm thinking I want to use the '-v' option for verbose output?
[15:10:06] <janrinok> yes, by all means
[15:10:11] <Bytram|alt> this is what I'm thinking of issuing:
[15:10:37] <Bytram|alt> hold on
[15:11:30] <Bytram|alt> I want to have a 'log' file so that ddrescue can use that later when it 'tries harder' to recover bad blocks.
[15:12:13] * Bytram|alt types: mann ddrescue
[15:12:32] <Bytram|alt> ddrescue [options] infile outfile [logfile]
[15:12:43] <Bytram|alt> so,, it looks like I want to do something like this:
[15:14:16] <Bytram|alt> ddrescue -n -v /dev/sda /root/backup/hp_internal.img /root/hp_internal.log | tee -a /root/hp_internal_tee.txt
[15:14:53] <janrinok> looks good to me - you have been doing your homework. 10 points to Gryfyndor!
[15:15:35] <Bytram|alt> I have quite a bit of experience with the main userland tools, it's the hdw and setup stuff I'm weak
[15:15:47] <Bytram|alt> cmn32480: you got any comments before I fire it up?
[15:15:53] <janrinok> np - you are doing fine
[15:16:17] <cmn32480> hang tight
[15:16:21] <cmn32480> reading backscroll
[15:17:15] <Bytram|alt> correection:
[15:17:23] <Bytram|alt> ddrescue -n -v /dev/sda /root/backup/hp_internal.img /root/hp_internal.log | tee -a /root/backup/hp_internal_tee.txt
[15:17:28] <cmn32480> one suggestion
[15:17:41] <cmn32480> a quick prayer never hurt
[15:18:02] <Bytram|alt> man you got THAT right!
[15:18:24] * Bytram|alt double-checks his command and typing
[15:19:18] <janrinok> go whenever you are ready
[15:19:42] <Bytram|alt> ddrescue -n -v /dev/sca /root/backup/hp_internal.img /root/backup/hp_internal.log | tee -a /root/backup/hp_image_tee.txt
[15:19:46] <cmn32480> the command looks good
[15:20:09] <Bytram|alt> oops
[15:20:12] <janrinok> ok, you've moved your log file, but it still looks good
[15:20:17] <janrinok> oops?
[15:20:27] <Bytram|alt> ddrescue -n -v /dev/sca /root/backup/hp_internal.img /root/backup/hp_internal.log | tee -a /root/backup/hp_internal_tee.txt
[15:20:39] <Bytram|alt> s/image/internal/ for consistency
[15:21:09] <cmn32480> shall we try that again... without the oops this time?
[15:21:15] * Bytram|alt hits eenter
[15:21:30] <janrinok> its about now I type "NOOOOOOOOOOO!'
[15:21:32] <cmn32480> I dont' ahve the button on my keyboard. is it like the "any" key?
[15:21:43] <Bytram|alt> ddrescue -n -v /dev/sda /root/backup/hp_internal.img /root/backup/hp_internal.log | tee -a /root/backup/hp_internal_tee.txt
[15:22:24] <Bytram|alt> ok, it's running. I've got about 8 lines of text that I'd like to type her for histerical(!) reference
[15:22:38] <Bytram|alt> GNU ddrescue 1.18.1
[15:23:07] <Bytram|alt> About to copy 80026 MBytes from /dev/sda to /root/backup/hp_internal.img
[15:23:32] <Bytram|alt> Starting positions: infile 0 B, outfile = 0 B
[15:23:56] <Bytram|alt> Copy block size: 128 sectors Initia; skip size: 128 sectors
[15:24:07] <Bytram|alt> Sector size: 52 Bytes
[15:24:13] <Bytram|alt> Sector size: 512 Bytes
[15:24:21] <janrinok> better...
[15:24:25] <Bytram|alt> Press Ctrl-C to interrupt
[15:24:36] <cmn32480> I don't suggest dong that last bit
[15:25:34] <Bytram|alt> Rescued: 2080 MB, errsize: 0 B, currrent rate: 13172 kB/s
[15:25:59] <Bytram|alt> ipos: 2080 MB, errors: 0, average rate: 9249 kB/s
[15:26:00] <janrinok> 13 MB/s is not too bad, but you can work out how long it will take ?:)
[15:26:26] <Bytram|alt> opos: 2080 MB, run time: 3.98m, successful read: 0 s ago
[15:26:37] <Bytram|alt> Copying non-tried blocks... Pass 1 (forwards)
[15:26:40] <Bytram|alt> done.
[15:27:48] <cmn32480> done?????
[15:27:53] <janrinok> I've got to go cook a meal, I'll be back in about 1.5 - 2 hours or so
[15:27:57] <cmn32480> you gotta be kidding
[15:27:58] <Bytram|alt> I'm trying to record things for writing this up later; so, in the future, I'd very much appreciate your waiting for me to type 'done' for replies, unless of course I'm doing something wicked stupid.
[15:28:09] <cmn32480> oh
[15:28:19] <janrinok> if we can't banter, I wont play.... :(
[15:28:21] <cmn32480> I thought it was done....
[15:28:46] <Bytram|alt> cmn32480: done. as in I just finally finished typeing the 8 lines of text I said I was going to record for historical purposes
[15:29:26] <Bytram|alt> yeah, sorry. it's just a lot easier to cut-n-paste when it's not interrupted,but no biggee, really.
[15:29:32] <janrinok> I can tell you now that watching it backup will never qualify as a spectator sport.
[15:29:34] <Bytram|alt> I'm just being lazy and, frankly, unappreciative
[15:29:44] <janrinok> But I'll bet you do - I did :)
[15:29:44] <cmn32480> roughly 105 minutes at 13MB if my math is correct
[15:29:50] <Bytram|alt> thanks to BOTHof you for your tremendous assistance!
[15:29:53] <Bytram|alt> couldn't have done it without you!!!!!!!!!!!
[15:30:01] <janrinok> ... and the banter
[15:30:12] <janrinok> gtg - laters guys
[15:30:13] <Bytram|alt> lol
[15:30:18] <cmn32480> andthat old Lappy is USB 1.1... max of 11MB theoretical.
[15:30:24] <cmn32480> lat janrinok
[15:30:26] janrinok is now known as janrinok_afk
[15:30:32] <Bytram|alt> btw, this is 'Pass 1' -- I dunno if it intends to do another pass, but I thnk not.
[15:30:39] <Bytram|alt> janrinok_afk: thanks bunches!!!!!!!!!!!!
[15:30:46] <cmn32480> it will continue to do passes until it gets everythgin
[15:30:52] <Bytram|alt> k
[15:31:10] <cmn32480> pass 1 gets all the easy stuf., then it goes back on pass 2 to get the damaged blocks
[15:31:19] <Bytram|alt> average rateis bounciing around 9400 kB/s
[15:31:26] <Bytram|alt> nod nod
[15:32:05] <Bytram|alt> except I told it '-n' so I *think* that means only one pass without any trimming or retrying(?)
[15:34:11] * Bytram|alt takes a few more pics
[15:34:23] <cmn32480> likely.
[15:34:58] <cmn32480> '-n'
[15:34:58] <cmn32480> '--no-scrape'
[15:34:58] <cmn32480> Skip the scraping phase. Avoids spending a lot of time trying to rescue the most difficult parts of the file.
[15:35:22] <cmn32480> from the nam page
[15:35:25] <Bytram|alt> looks like it is single threaded; reads a bunch from source, and then writes to dest; no overlapping as I watch the blinking lights
[15:35:26] <cmn32480> *man
[15:35:40] <Bytram|alt> nod nod - thanks for that
[15:36:59] <cmn32480> it is single threaded. reason is that it prevents what could be a damaged drive from having to kill itself moveing the heads around
[15:37:13] <cmn32480> helps to prevent further damage
[15:37:19] <Bytram|alt> rescued: 8966 MB at run-time: 15.98 m
[15:37:43] <cmn32480> Oh Great Computer Gods... please bless this ddrescue operation....
[15:37:51] <cmn32480> excellent.
[15:37:55] <cmn32480> moving right along
[15:38:00] <cmn32480> that is a good sign
[15:38:04] <cmn32480> :-)
[15:38:10] <cmn32480> I'm very happy for you Bytram
[15:38:44] <Bytram|alt> current rate will scoot up to 35000 kB/s and then goes back to 13173 kB/s
[15:38:51] <Bytram|alt> yes, I'm happy, too!
[15:39:05] <cmn32480> adn you have certainly been anything but unappreciative
[15:39:06] <Bytram|alt> can't thank you and janrinok enough!
[15:39:27] <Bytram|alt> 10 MB done at 17.98 minutes
[15:39:45] <Bytram|alt> ugh. 10000 MB done at 10.98 m
[15:40:07] <Bytram|alt> this time for sure, rocky!
[15:40:14] <Bytram|alt> 10000 MB done at 17.98 minutes
[15:40:45] <cmn32480> as professional IT it is part of my job to frustrate
[15:40:51] <cmn32480> how full was the drive?
[15:41:03] <Bytram|alt> that's 1/8 of the way through; 8 * 18 minutes == 144 minutes or about 2h24m
[15:41:17] <Bytram|alt> shouldn't matter, it should be grabbing every single sector
[15:41:30] <Bytram|alt> but, fwiw, it have about 3 GB free
[15:41:40] <cmn32480> it will matter for the amount of time needed to do the ddrescue
[15:41:52] <Bytram|alt> 11437 MB at 20.48m
[15:42:54] <cmn32480> I'd sign off... go get some lunch. maybe a nap.
[15:42:57] <Bytram|alt> hmmm? AFAIU, it should start at sector 1 and read the entire disk until it gets to the end, readaing the contents of every single sector along the way.
[15:43:12] <cmn32480> check back on it in an hour or so.
[15:43:38] <cmn32480> yes.. but I can't remember if it only pulls the sectors w/ data, or if it gets everything
[15:43:47] <Bytram|alt> good suggestion, I'll leave this up and post updates as I look in
[15:43:54] <cmn32480> "empty" sectors where there are thigns that were deleted or not...
[15:44:08] <Bytram|alt> even all-zeroes is data; it has no idea what they mean, right?
[15:44:19] <cmn32480> correct.
[15:44:37] <Bytram|alt> I'd agree with you if it were walking throough the directory entries and copying *files*
[15:44:54] <Bytram|alt> as I understand, it's one level lower than that and is reading the raw data off the disk
[15:45:14] <Bytram|alt> 13360 MB at 23.98 m
[15:45:16] <cmn32480> the windows based image program I use only copies the existing files.. no empty space
[15:45:25] <Bytram|alt> nice
[15:45:45] <cmn32480> but you can't use it on the system disk, AFAIK
[15:45:47] <Bytram|alt> for fear of invoking murphy, so far, errors: 0
[15:45:58] <Bytram|alt> yeah. that makes sense
[15:46:00] <cmn32480> well taht probably just screwed us....
[15:46:14] <cmn32480> teamwork++
[15:46:35] <cmn32480> WTF??? one of my monitors is flickering
[15:46:40] * Bytram|alt is NOT superstitious but is glad this is not Friday the 13th
[15:46:40] <cmn32480> that isn't good
[15:46:49] * cmn32480 agrees
[15:47:04] <Bytram|alt> happens to me all the time; try reseating the monutor cable
[15:47:18] <Bytram|alt> and the monitor cable, too =)
[15:47:29] <cmn32480> that is next... jsut pulled the power as that is easier than getting to the DVI cables
[15:47:37] <Bytram|alt> nod nod
[15:48:01] <Bytram|alt> is the power pligged straight into the wall or do you have a UPS
[15:48:08] <cmn32480> crummy part is that it is one of my 27"s
[15:48:23] <cmn32480> straing into surge suppressor
[15:48:46] <Bytram|alt> voltage sags can through things off
[15:48:55] <Bytram|alt> like when the A/C compressor kicks in
[15:49:04] <Bytram|alt> s/through/throw/
[15:49:15] <cmn32480> but the rest of the stuff on the same suppressor are showing no issues at this moment
[15:49:49] <Bytram|alt> supressor keeps voltage *surges* at bay; doesn't help with voltage *sags*
[15:50:21] <Bytram|alt> 16108 MB at 28.98 m
[15:50:39] <cmn32480> agreed.
[15:50:43] <Bytram|alt> average rate\: 9262 kB/s
[15:51:07] <Bytram|alt> I've got 3 of 'em and it does wonders for my peace of mind.
[15:51:34] <Bytram|alt> btw, if you get one, make sure you get one where you can silence the alarm!!
[15:52:06] <Bytram|alt> I've woken at 2 AM to hear mine screaming there is no power, and I'm not doing anything with 'em except listen to 'em scream.
[15:52:34] <cmn32480> yeah.. I ahve them at home. No need for them at the office so far
[15:52:57] <Bytram|alt> oh, okay.
[15:53:38] <Bytram|alt> fwiw, I cheaped out and got 'Cyber-Power' UPSs at Best-buy and saved maybe $10/$20 per unit; should have gotten the APC(?) instead.
[15:55:27] <Bytram|alt> fwiw, each of mine is rated 585 VA
[15:56:27] <cmn32480> the one at home is 900VA
[15:56:48] <cmn32480> the one in my server room is 8000va
[15:56:54] <cmn32480> w/ a generator on the ass end
[15:57:15] <Bytram|alt> impressive!
[15:57:41] <Bytram|alt> 20230 mb AT 36.48 M
[15:58:10] * Bytram|alt hits the caps lock key off, again.
[15:58:54] <Bytram|alt> so, looks like I have a bit over 1h30m to go.
[15:59:25] <Bytram|alt> I'm gonna take a break and check back in a while.
[15:59:31] <cmn32480> okkie
[15:59:33] <cmn32480> get some grub
[15:59:37] <Bytram|alt> btw,
[15:59:41] <cmn32480> I'll be here when you get back
[16:00:13] <Bytram|alt> having multiple UPCs, in a crunch, I've been known to daisy chain a nearly-empty UPS into a full one.
[16:00:30] <cmn32480> been there done that
[16:00:32] <Bytram|alt> not the most efficient, by a long stretch, but gave me some more time to get critical things done before the end
[16:00:38] <cmn32480> NOT best practice!
[16:01:01] <Bytram|alt> true, but when there's no other alternative, gets the job done!
[16:01:13] <Bytram|alt> ok, grub time biab
[16:06:14] <Bytram|alt> ugh. netbook reports: Your system is low on virtual memory.Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may [msg went away] but something like it would fail.
[16:06:27] <Bytram|alt> but, I'm still here, so seems to beokay.
[16:09:26] <cmn32480> not unusual on machines with very low RAM
[16:14:24] <Bytram|alt> pagefile is now 512 MiB -- and I've seen the msg before, but just in case something happened, wanted to log it here for future reference
[16:14:57] <Bytram|alt> 29284 MB run time: 53.63 m
[16:15:17] <Bytram|alt> afk
[16:28:08] <Bytram|alt> darn! I should have run 'smart' before I started, and then after, to get stats on how 'bad' things were
[16:28:41] <Bytram|alt> 34555 MB at 1.11h but... errsize: 40960 B errors: 1
[16:28:54] <cmn32480> 1 isn't too bad
[16:29:08] <Bytram|alt> avg rate is now: 8540 kB/s
[16:29:19] <Bytram|alt> nod nod
[16:30:05] <Bytram|alt> 'current rate' is much slower when reading, now about 11000 kB/s peak
[16:33:28] * Bytram|alt remembers his first hard disk, a Seagate ST-251 half-height 5.25" drive with a total capacitty of 40MB, but had to split it into 32MB and 8 MB because that was the largest that DOS 3.1 could address with FAT
[16:33:57] <Bytram|alt> at this rate, it would be completely read in 40 seconds!
[16:36:54] <cmn32480> yup
[16:42:25] <Bytram|alt> rescued\: 39840 MB errors: 1 errsize: 40960 B avg rate: 8220 kB/s run time: 1.35 h
[16:42:31] <Bytram|alt> half way there!
[16:49:22] <cmn32480> Woo HOO!
[16:49:50] <Bytram|alt> nod! nod!
[16:51:35] <Bytram|alt> rescued: 43575 MB at run-time: 1.5h
[17:08:10] <Bytram|alt> rescued: 50022 MB errors: 1 errsize: 40960 B avg rate: 7805 kB/s run time: 1.77 h
[17:27:47] janrinok_afk is now known as janrinok
[17:27:56] <janrinok> still plodding on Bytram ?
[17:32:36] <Bytram|alt> rescued: 59647 MB errors: 1 errsize: 40960 B avg rate: 7581 kB/s run time: 2.19 h
[17:32:40] <Bytram|alt> janrinok: yup!
[17:33:01] <janrinok> hey, 40k of error is not bad
[17:33:29] <Bytram|alt> 60000 mb in 2.2 h -- 2/3 done!
[17:34:05] <Bytram|alt> unfortunately, I've been watching the 'average rate' keep decreasing
[17:34:16] <janrinok> how big is the drive on your new machine?
[17:34:21] <Bytram|alt> indeed, so far, (knocks on wood) that has been the only error found.
[17:34:36] <Bytram|alt> old mach: 80 GB new: 500 GB
[17:34:50] <janrinok> is that as a single partition?
[17:35:06] <cmn32480> 2 partitions.
[17:35:16] <cmn32480> 1 is the Dell built diagnostic
[17:35:29] <Bytram|alt> (about 45 minutes to go at the current rate)
[17:35:45] <cmn32480> we had this discussion at some point in the past
[17:35:46] <janrinok> ah, so doing a backup of your system from the new mach is probably not a good idea
[17:36:14] <janrinok> we did, but at my age the memory isn't as good - by the way, who the hell are you?
[17:36:59] <cmn32480> dunno... who're you?>
[17:37:08] <janrinok> I forget.....
[17:37:22] <cmn32480> and who's the other guy? he seesm to know alot about computers and stuff
[17:37:27] <cmn32480> maybe he knows who we are
[17:37:29] <Bytram|alt> so.... I could copy the .img file over to the new machine, launch linux in a vm, and mount the image as a filesystem, and access everything as if it were local.
[17:37:45] <Bytram|alt> who's on first!
[17:37:53] <cmn32480> or do the same thign off a VM with the image on the USB disk
[17:37:57] <janrinok> yes, a little bit more complicated than that, but essentially yes
[17:37:59] <cmn32480> what's on second
[17:38:10] <Bytram|alt> I don't know?
[17:38:17] <cmn32480> He's on Third
[17:38:51] <Bytram|alt> yeah, at this point, I don't want to take *any* chances with the original image -- I'll keep that safe and sound and separate from use -- only use a copy of it/
[17:39:20] <Bytram|alt> that is quite possibly the best comedy act, ever!
[17:39:28] <janrinok> you have got an image of a drive, not a partition. Therefore, to mount it directly you have to know where the drive data finishes and the first partition begins. 'fdisk -l' will give you that info in sectors, and you apply that offset when you mount the partition
[17:39:47] * Bytram|alt saw a copy of it on youtube -- watching makes it even better!
[17:40:10] <Bytram|alt> janrinok: ahhh, makes sense! thanks for headsup/warning!
[17:40:12] <cmn32480> https://www.youtube.com
[17:40:46] <Bytram|alt> lol
[17:41:01] <janrinok> https://major.io
[17:41:11] <janrinok> gives you the down and dirty on it
[17:41:32] <Bytram|alt> I'd like to take a nap, but I've got a macabre fascination with this ddrescue and fear to miss any 'fireworks'
[17:41:56] <janrinok> lol - I knew that you would watch it, despite my warning that it is not a spectator sport
[17:42:20] * Bytram|alt clicks link
[17:42:51] <cmn32480> I was watching it too....
[17:43:01] <cmn32480> spectator sport from afar
[17:46:52] <Bytram|alt> janrinok: thanks for that link -- fills in some blanks for me.
[17:46:57] <janrinok> np
[17:48:00] <Bytram|alt> rescued: 65723 MB errors: 1 errsize: 40960 B avg rate: 7470 kB/s run time: 2.44 h
[17:48:31] <cmn32480> complete?
[17:48:41] <janrinok> nah
[17:48:49] * cmn32480 apologizes for interrupting Bytram's happy dance
[17:48:55] <Bytram|alt> gosh no! drive contains 80000 MB
[17:49:01] <cmn32480> rats
[17:49:12] <cmn32480> I was really looking forward to interrupting your happy dance
[17:49:44] <Bytram|alt> 2000 seconds to go if my back-of-the-envelope guestimate is right... about 30-40 m
[17:52:20] <janrinok> that is the first time I've watched that A and C video - laughing my head off
[17:53:50] <cmn32480> one of the single greatest comedy routines ever
[17:55:29] <cmn32480> S looking at you funny?
[17:55:35] <cmn32480> I mean.. that's how we look at you too
[17:55:37] <janrinok> just a lot!
[17:55:52] <cmn32480> don't forget to share!
[17:59:31] <Bytram|alt> rescued: 70201 MB errors: 1 errsize: 40960 B avg rate: 7399 kB/s run time: 2.61 h
[17:59:53] <janrinok> just 10 more gigs
[18:00:07] <Bytram|alt> =)
[18:01:29] <cmn32480> what's that horrible screaming noise coming from the hard disk?
[18:01:44] * cmn32480 giggles evily
[18:01:44] <janrinok> dead bits panicking at the end of the partition
[18:02:11] <cmn32480> I had abuddy that was "fixing" a power supply that kept blowing fuses.
[18:02:24] <cmn32480> so he hard wired it and turned it on w/ the supply open.
[18:02:33] <janrinok> ooops
[18:02:40] <cmn32480> a big bang, and a smoke trail later...
[18:03:00] <cmn32480> his father deadpanned "That must have been the last good piece making a run for it"
[18:03:07] <janrinok> lol
[18:08:34] <Bytram|alt> note to self: this channel is logged to: http://logs.sylnt.us
[18:09:30] <Bytram|alt> making a run for it, along with the remaining 'magic smoke'
[18:12:00] <Bytram|alt> rescued: 75103 MB errors: 1 errsize: 40960 B avg rate: 7335 kB/s run time: 2.84 h
[18:13:09] <Bytram|alt> about 15 or so minutes to go
[18:16:13] <cmn32480> little over 3 hours...
[18:16:16] <cmn32480> not too bad
[18:16:33] <cmn32480> given the questionable condition of the drive, adn the USB 1.1 on the old laptop
[18:16:52] <janrinok> it's not doing bad
[18:17:19] <cmn32480> bottleneck is probably the USB 1.1
[18:17:40] * cmn32480 wonders if DDrescue will tell us at the end where the bottleneck was...
[18:18:06] * janrinok thinks it will just say ... laptop
[18:18:38] * cmn32480 thinks janrinok is probably right but doesn't knwo what -v will give at the end
[18:20:50] <cmn32480> home stretch...
[18:21:22] <janrinok> I've checked the man page - '-v' gives a giggling sound at the end and bombs out with 5 bytes to go
[18:21:57] <cmn32480> rofl
[18:22:49] <cmn32480> janrinok - think Bytram|alt is tired of us two knuckleheads yet? Or you think he just has us on ignore?
[18:23:32] <Bytram|alt> just fetched laundry from the dryer!
[18:23:38] <janrinok> probably the latter - but we let it dissuade us ;)
[18:24:02] <janrinok> we won't let it*
[18:24:03] <Bytram|alt> rescued: 79813 MB errors: 1 errsize: 40960 B avg rate: 7283 kB/s run time: 3.04 h
[18:24:14] <janrinok> yay
[18:28:20] <cmn32480> like the energizer bunny
[18:28:29] <Bytram|alt> rescued: 80026 MB, errsize: 4096 B, current rate: 5266 B/s ipos: 28802 MB, errors: 1, average rate: 7261 kB/s opos: 28802 MB, run time: 3.06 h, successful read: 0 s ago Finished
[18:28:43] <Bytram|alt> YAY!
[18:28:50] <cmn32480> 1 error? excellent!
[18:28:59] <cmn32480> see... drive duplication IS a spectator sport
[18:29:08] <Bytram|alt> lol
[18:29:08] <cmn32480> all 3 of us were rivited
[18:29:11] <cmn32480> for 3 hours
[18:29:20] <Bytram|alt> now where did I put the popcorn!
[18:29:31] * janrinok cracks open another beer
[18:29:47] * cmn32480 is jealous of janrinok's beer
[18:30:00] <Bytram|alt> I believe I should repeat the same command I used earlier, but replace '-n -v' with '-r'
[18:30:01] * janrinok opens a second beer for cmn32480
[18:30:05] <cmn32480> and bytram's popcorn....
[18:30:34] <Bytram|alt> what was the name of the two-headed character in HHGTTG?
[18:30:39] <Bytram|alt> beeblebrob?
[18:31:34] <cmn32480> Zaphond Beeblebrox
[18:31:38] <janrinok> beeblebrox
[18:31:39] <cmn32480> Zaphod Beeblebrox
[18:31:59] <cmn32480> no "n" ... stupid fingers
[18:32:05] <Bytram|alt> yup, that's the one! didn't realize til now that he could drink two beers at once
[18:32:18] <janrinok> so can I - hick
[18:32:29] <Bytram|alt> or two "pangalactic gargle blasters"
[18:32:33] <Bytram|alt> lol
[18:33:25] <cmn32480> shoot
[18:33:33] <cmn32480> forgot my towel at home today
[18:33:41] <Bytram|alt> ddrescue -r /dev/sda /root/backup/hp_internal.img /root/backup/hp_internal.log | tee -a /root/backup/hp_internal_tee.txt
[18:33:53] <Bytram|alt> ^^ I think that is the command I should try, now
[18:34:36] <janrinok> yeah, you've got plenty of space on that drive, just change the filenames a little :)
[18:34:38] <Bytram|alt> "-r, --retry-passes=<n> exit adfter <n> retry passes (-1=infinity) [0]
[18:35:45] <Bytram|alt> why would I want to do that? ... readnig the same drive, writing to the same image, using the same log to track what has been done; and am appending to the tee file
[18:35:59] <Bytram|alt> I'm not doubting you, I just don;t see the need/value
[18:36:09] <janrinok> j/k
[18:36:36] <janrinok> I thought you were going to start the whole thing again!
[18:37:12] <janrinok> I don't know, I haven't done that before
[18:37:18] <Bytram|alt> gosh no! notice the change in options from '-n -v' to '-r' hmmm, should be '-r -v'
[18:37:31] <Bytram|alt> i.e. keep the verbose output
[18:38:15] <janrinok> just looking at the man page
[18:39:24] <Bytram|alt> I was just looking at the help....
[18:40:27] <Bytram|alt> ddrescue --verbose --retry-passes=50 /dev/sda /root/backup/hp_internal.img /root/backup/hp_internal.log | tee -a /root/backup/hp_internal_tee.txt
[18:40:36] <janrinok> well make a copy of the existing img file on the same drive - that way you keep what you have now - and then try the new command
[18:41:18] <janrinok> if it works ok , you can delete the copy, if it trashes it, you still have the original data
[18:41:26] <cmn32480> janrinok makes a very good point
[18:43:02] <cmn32480> that is going to take a LONG time to copy. Via USB through the bus and back out....
[18:43:12] <cmn32480> you may want to connect to the new laptop to do that
[18:43:20] <janrinok> no, you are looking at a disk to disk on the same drive
[18:43:33] <janrinok> it is all on the same 1TB drive
[18:43:34] <Bytram|alt> cd /root/backup/; mkdir 20150721a; cp --p hp* 20150721a
[18:44:00] <janrinok> that would work
[18:44:05] <Bytram|alt> I fear the cmn32480 is correct
[18:44:10] <Bytram|alt> s/the/that/
[18:45:06] <janrinok> mine don't take too long
[18:45:17] <cmn32480> disk to disk internally you are correct, it woudl be faster. problem is that the data still to transit the bus.
[18:45:30] <Bytram|alt> if it were a genuine SCSI drive, the host (my lappy) would send a cmd to the device for it to do the copy locally. As it is a USB device, I suspect the host is gonna read things from the drive (through the USB channel) and then write them back out to the drive (through the same USB channel)
[18:45:43] <janrinok> not as fast as internal but external drives are always slower
[18:46:01] <cmn32480> internal bus speed is orders of magnitude faster. especialyl given that it is USB 1.1 running on a live image
[18:46:04] <janrinok> it won't take 3 hours :)
[18:46:25] <Bytram|alt> better safe than sorry, the copy is already started
[18:46:29] <cmn32480> it'll be a lot faster on the new laptop, BUT do you risk unpluggingn it
[18:46:34] <cmn32480> estimated time?
[18:46:41] <cmn32480> 4 years....
[18:46:46] <janrinok> lol
[18:48:08] <Bytram|alt> it could actually could take more than 3 hrs; ISTM the slowest part of the ddrescue was writing to the USB (about 1/3 to 1/4 the speed of the internal drive) and now we need to add the fact that the USB drive heads need to move in and out to read and write
[18:48:50] <janrinok> well you can always ctrl-c if you want to try to copy it to another machine
[18:49:40] <Bytram|alt> K.I.S.S. -- I can wait
[18:49:54] <janrinok> you are copying more than the original 80GB though, because now you have the log file and other data
[18:50:30] <Bytram|alt> I did a 'ls -ltr' of the backup dir before I issued the cp command
[18:50:44] <janrinok> how big?
[18:51:01] <Bytram|alt> hp_internal.log is 453 and hp_internal_tee.txt is 1796572
[18:51:14] <janrinok> not much then
[18:51:25] <Bytram|alt> and hp_internal.img is 80026361856
[18:51:44] <Bytram|alt> nod nod
[18:51:55] <cmn32480> I can't understand how you have suck patience Bytram|alt
[18:52:04] <cmn32480> *such
[18:52:14] <cmn32480> such patience
[18:52:32] <cmn32480> janrinok and I were commenting earlier that we woudl have been on this like white on rice
[18:52:35] <Bytram|alt> In my experience, it's faster to do it right the first time, than to try and recover from the pieces.
[18:52:59] <Bytram|alt> and, sometimes, the pieces do not fit back together.
[18:53:03] <janrinok> well, it's your call where you put it, but I would want something in the bank after several hours work
[18:53:47] <Bytram|alt> I've got one nearly perfect copy of my drive, another one on the way, and a rapt audience of TWO!
[18:53:51] <Bytram|alt> =)
[18:54:13] <cmn32480> put your editorial paycheck in the bank janrinok
[18:54:14] <janrinok> you could sell tickets - or perhaps not
[18:54:52] <janrinok> cmn32480: last time I tried that they burst out laughing. Perhaps I ought to change my bank
[18:55:20] <Bytram|alt> Tickets? free! Salted popcorn? free! Beer? $10 each.
[18:55:33] <Bytram|alt> bathroom? $100
[18:55:51] <janrinok> empty beer bottle to substitute for bathroom - priceless
[18:56:15] <Bytram|alt> fine for public indecency? $1000 (split with the cops)
[18:56:30] <Bytram|alt> they'll be keeping a *very* close eye
[18:56:33] <janrinok> no, I gave them the 'beer' - wink
[18:56:49] <Bytram|alt> Blegh!!!!!
[18:57:02] <cmn32480> ^^ ditto
[18:57:13] <janrinok> you two have led sheltered lives...
[18:58:16] <Bytram|alt> quite possibly, but the popcorn is wonderful!
[18:58:40] <janrinok> so was the beer the first time
[18:58:44] <cmn32480> there was a bar where I went to college that had "Bladderburst"
[18:59:12] <cmn32480> $5 pitchers until somebody broke the seal on the bathroom (caution tape)
[18:59:27] <cmn32480> after that they went back to $7 or somethign
[18:59:36] <janrinok> damn, that's a fine idea
[19:00:01] <cmn32480> got shut down because people were peeing in pitchers... off the patio into the alley below
[19:00:24] <cmn32480> into beer bottles
[19:00:29] <cmn32480> it was nasty
[19:01:30] <Bytram|alt> pitchers, eh? what about catchers and first basemen?
[19:01:45] <janrinok> who? or was that what?
[19:01:48] <Bytram|alt> okay, my lunch is catching up with me and I can barely keep my eyes open. I'm gonna set an alarm for 1hour and take a nap.
[19:02:07] <Bytram|alt> I donn't know! (Third Base!)
[19:02:08] <janrinok> I'll be gone soon - so cu tomorrow Bytram
[19:02:30] <Bytram|alt> janrinok: thanks so much for guiding me gently through the process -- I can't thank you enough!
[19:02:36] <Bytram|alt> give my best to S, as well!
[19:02:50] <janrinok> np - sorry for the banter - and I will pass on your best to S
[19:03:14] <Bytram|alt> cmn32480: and I appreciate your riding shotgun and giving pointers/feedback, too!
[19:03:27] <cmn32480> I jsut played along.
[19:03:36] <cmn32480> for the entertainment value, mostly
[19:03:42] <cmn32480> get some rest Bytram
[19:03:47] <cmn32480> see you later maybe
[19:04:01] <Bytram|alt> I realized, later, that I can just grep on 'bytram|alt' and restrict log lines to my typing -- no harm done!
[19:04:20] <janrinok> yeah, there is that :)
[19:04:21] <Bytram|alt> cmn32480: I'd like that.
[19:04:48] <cmn32480> the rest, or seeing me later?
[19:05:23] <Bytram|alt> yes!
[19:05:33] <Bytram|alt> c'ing u l8r
[19:05:35] <cmn32480> oh boy
[19:05:45] <cmn32480> I'm probably in trouble now
[19:06:11] <Bytram|alt> lol, don't look at me! You can get into trouble all by yourself without my help!
[19:06:14] <Bytram|alt> ;)
[19:06:17] <Bytram|alt> ok, laters
[19:07:49] <janrinok> cmn32480: I'm going to switch off now - enjoy the rest of your day and I'll probably be back the same time'ish tomorrow
[19:08:33] <Bytram|alt> have a good night and give my best to your wife and kids! They're lucking to have you in their lives!
[19:08:37] -!- Bytram|alt has quit []
[19:08:52] <janrinok> bye
[19:09:30] janrinok is now known as zz_janrinok
[19:14:42] -!- cmn32480 [cmn32480!~cmn32480@Soylent/Staff/Editor/cmn32480] has parted #qa
[22:27:11] -!- cmn32480|afk [cmn32480|afk!~cmn32480@Soylent/Staff/Editor/cmn32480] has joined #qa
[22:30:16] cmn32480|afk is now known as cmn32480