Re: [ubuntu-uk] ubuntu-uk Digest, Vol 134, Issue 4

2016-06-19 Thread Duncan Collins
 group summary information with lots of block
> > > bitmap
> > > differences.
> > >
> > > I fixed these, but on running fsck a second time, these block
> differences
> > > were
> > > back.
> > >
> > > Now this drive is currently sat in an external USB tray so that I could
> > > copy
> > > files across before replacing the one in the computer. Are these errors
> > > due to
> > > it being on USB or is the drive faulty?
>
> > What did you use to create the partition? The only thing that I have
> found
> > that works properly is gdisk.
>
> I'd originally used KDE Partition Manager, but tried again with gdisk.
> Still
> getting the Block bitmap differences: .
>
>
> --
> Registered Linux User #466407 http://counter.li.org
>
>
>
> --
>
> Message: 4
> Date: Sun, 19 Jun 2016 07:34:42 +0100
> From: Barry Drake 
> To: ubuntu-uk@lists.ubuntu.com
> Subject: Re: [ubuntu-uk] New hard drive errors
> Message-ID: <57663d02.3090...@gmx.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> On 18/06/16 16:21, Mark Fraser wrote:
> > I fixed these, but on running fsck a second time, these block
> differences were
> > back.  Now this drive is currently sat in an external USB tray so that I
> could copy
> > files across before replacing the one in the computer. Are these errors
> due to
> > it being on USB or is the drive faulty?
> >
> You might try getting a copy of Windows - either Win 7 or XP. Either of
> these will say that the disk has an unrecognisable system, and will
> offer fdisk to delete the partition.  It will let you use fdisk to
> create a new NTFS partition, and will then let you do a long format to
> begin installation.  MS Win is very verbose in long-format mode, and you
> will find out if the disk is faulty.  I'm not sure whether MS can work
> with a USB drive?  I have a built-in trayless caddy, so I don't use a
> USB arrangement.  Incidentally, Windows will trash the boot sector of
> /dev/sda, so unplug that before trying the process.
>
> --
> http://barrydrake.co.nr/
>
>
>
>
> --
>
> Message: 5
> Date: Sun, 19 Jun 2016 08:52:30 +0100
> From: Colin Law 
> To: UK Ubuntu Talk 
> Subject: Re: [ubuntu-uk] New hard drive errors
> Message-ID:
>  0gltj8rdkz9tuzkgphfmk+fxzue+yv+r_+vudsbjnvbk...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On 18 June 2016 at 16:21, Mark Fraser  wrote:
> > Bought a new 3TB hard drive this week onto which I created a new GPT
> partition
> > table and a 3TB ext4 partition. This completed successfully and I used
> rsync
> > to copy some files onto it.
> >
> > The next day, I was unable to mount the drive and so I ran fsck on it.
> This
> > failed pass 5: Checking group summary information with lots of block
> bitmap
> > differences.
>
> If you have not already done so then check the SMART data for the disc.
>
> Also look in syslog to see if there are any rude messages.
>
> Colin
>
>
>
> --
>
> Message: 6
> Date: Sun, 19 Jun 2016 08:54:12 +0100
> From: Simon Greenwood 
> To: UK Ubuntu Talk 
> Subject: Re: [ubuntu-uk] New hard drive errors
> Message-ID:
>  agmyt4zkpul21dxp_n9mma8hjhczvtbh_zihuco1...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On 18 June 2016 at 21:53, Mark Fraser  wrote:
>
> >
> > > On 18 June 2016 at 16:21, Mark Fraser 
> wrote:
> > > > Bought a new 3TB hard drive this week onto which I created a new GPT
> > > > partition
> > > > table and a 3TB ext4 partition. This completed successfully and I
> used
> > > > rsync
> > > > to copy some files onto it.
> > > >
> > > > The next day, I was unable to mount the drive and so I ran fsck on
> it.
> > > > This
> > > > failed pass 5: Checking group summary information with lots of block
> > > > bitmap
> > > > differences.
> > > >
> > > > I fixed these, but on running fsck a second time, these block
> > differences
> > > > were
> > > > back.
> > > >
> > > > Now this drive is currently sat in an external USB tray so that I
> could
> > > > copy
> > > > files across before replacing the one in the computer. Are these
> errors
> > > > due to
> > > > it being on USB or is the drive faulty?
> >
> > > What did you use to create the partition? The only thing that I have
> > found
> > > that works properly is gdisk.
> >
> > I'd originally used KDE Partition Manager, but tried again with gdisk.
> > Still
> > getting the Block bitmap differences: .
> >
> >
> ?How is the disk mounted? If you're just using automount consider giving it
> a dedicated mount point with a ?fixed directory (ie /mnt/disk or similar)
> and telling mount what the filetype is. That said, I have seen this issue
> exactly using rsync and wrongly formatted 3Tb drives in a fixed backplane
> so I don't think it's the connectivity - but then again an external GPT
> disk could indicate a bug. Maybe try partitioning and formatting,
> disconnecting and reconnecting the drive and mounting it, which may show
> issues in dmesg or syslog.
>
> s/
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20160619/60af9a3e/attachment-0001.html
> >
>
> --
>
> --
> ubuntu-uk mailing list
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>
>
> End of ubuntu-uk Digest, Vol 134, Issue 4
> *
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Seeing double with new hard drive

2016-06-19 Thread Simon Greenwood
On 19 June 2016 at 19:57, Gareth France 
wrote:

> I have a dual hard drive setup in my laptop thanks to a secondary cradle
> where the DVD rom should be. I have decided to replace my primary hard
> drive as it is virtually dead. I have installed the new drive in the
> secondary caddy and begun to copy my home directory in it's entirety across
> to the new drive.
>
> The old drive installed here was sdb and my primary drive sda, weirdly
> though now my primary is sdb and this new one is sda. I decided while
> waiting for the copy to complete I would have a nose around in the Disks
> utility. Firstly I was surprised to see that apparently both drives were
> exactly the same make and model. Something fishy is surely going on there!
>
> Both drives have exactly the same SMART data, showing a pre-failure
> condition. In summary it appears that Disks is displaying two copies of my
> primary drive, rather than the genuine data for my second drive.
>
> Where might I report this? And before I remove my primary drive and move
> on to installing Ubuntu is there anything I should do to gather data n this
> issue?
>
>
​T​ry using smartctl from the command line - smartctl -a /dev/sda or
/dev/sdb should give you the correct data.

The drive device is mutable as scanning is done at that hardware level so
if you have more than one disk the only reliable identifier is the serial
number.

​I've noticed this sort of thing with Disks before and it does only seem to
be reliable with a single fixed disk device - I suspect it may cache fixed
disk data and adding a new disk which has recreated the devices may confuse
it. The other option is that your existing disk has failed or has stopped
responding to smartctl, so testing from the command line should show the
correct state.

s/​



-- 
Twitter: @sfgreenwood
"TBA are particularly glib"
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Seeing double with new hard drive

2016-06-19 Thread Gareth France
I have a dual hard drive setup in my laptop thanks to a secondary cradle 
where the DVD rom should be. I have decided to replace my primary hard 
drive as it is virtually dead. I have installed the new drive in the 
secondary caddy and begun to copy my home directory in it's entirety 
across to the new drive.


The old drive installed here was sdb and my primary drive sda, weirdly 
though now my primary is sdb and this new one is sda. I decided while 
waiting for the copy to complete I would have a nose around in the Disks 
utility. Firstly I was surprised to see that apparently both drives were 
exactly the same make and model. Something fishy is surely going on there!


Both drives have exactly the same SMART data, showing a pre-failure 
condition. In summary it appears that Disks is displaying two copies of 
my primary drive, rather than the genuine data for my second drive.


Where might I report this? And before I remove my primary drive and move 
on to installing Ubuntu is there anything I should do to gather data n 
this issue?


--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] New hard drive errors

2016-06-19 Thread Simon Greenwood
On 18 June 2016 at 21:53, Mark Fraser  wrote:

>
> > On 18 June 2016 at 16:21, Mark Fraser  wrote:
> > > Bought a new 3TB hard drive this week onto which I created a new GPT
> > > partition
> > > table and a 3TB ext4 partition. This completed successfully and I used
> > > rsync
> > > to copy some files onto it.
> > >
> > > The next day, I was unable to mount the drive and so I ran fsck on it.
> > > This
> > > failed pass 5: Checking group summary information with lots of block
> > > bitmap
> > > differences.
> > >
> > > I fixed these, but on running fsck a second time, these block
> differences
> > > were
> > > back.
> > >
> > > Now this drive is currently sat in an external USB tray so that I could
> > > copy
> > > files across before replacing the one in the computer. Are these errors
> > > due to
> > > it being on USB or is the drive faulty?
>
> > What did you use to create the partition? The only thing that I have
> found
> > that works properly is gdisk.
>
> I'd originally used KDE Partition Manager, but tried again with gdisk.
> Still
> getting the Block bitmap differences: .
>
>
​How is the disk mounted? If you're just using automount consider giving it
a dedicated mount point with a ​fixed directory (ie /mnt/disk or similar)
and telling mount what the filetype is. That said, I have seen this issue
exactly using rsync and wrongly formatted 3Tb drives in a fixed backplane
so I don't think it's the connectivity - but then again an external GPT
disk could indicate a bug. Maybe try partitioning and formatting,
disconnecting and reconnecting the drive and mounting it, which may show
issues in dmesg or syslog.

s/
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] New hard drive errors

2016-06-19 Thread Colin Law
On 18 June 2016 at 16:21, Mark Fraser  wrote:
> Bought a new 3TB hard drive this week onto which I created a new GPT partition
> table and a 3TB ext4 partition. This completed successfully and I used rsync
> to copy some files onto it.
>
> The next day, I was unable to mount the drive and so I ran fsck on it. This
> failed pass 5: Checking group summary information with lots of block bitmap
> differences.

If you have not already done so then check the SMART data for the disc.

Also look in syslog to see if there are any rude messages.

Colin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/