Subject: | |
From: | |
Reply To: | Stephen J. Gowdy |
Date: | Wed, 1 Feb 2012 11:32:40 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
It says it only copied 2.1GB. You are runnig a 64bit OS. You reinstalld
the same coreutils package. You need to change the format of the package
names from "rpm -qa" if you want to see the architecture ("man rpm" should
help you figure out how).
On Wed, 1 Feb 2012, Andrey Y Shevel wrote:
> Hi,
>
> I just paid attention that utility 'dd' uses just 2 GB even I use greater
> block size (BS). For example
>
> =====
> [root@pcfarm-10 ~]# dd if=/dev/zero of=/mnt/sdb/TestFile-S1 bs=12GB count=1
> 0+1 records in
> 0+1 records out
> 2147479552 bytes (2.1 GB) copied, 15.8235 seconds, 136 MB/s
> ============
>
> BTW,
>
> [root@pcfarm-10 ~]# uname -a
> Linux pcfarm-10.pnpi.spb.ru 2.6.18-274.17.1.el5xen #1 SMP Tue Jan 10
> 16:41:16 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
> [root@pcfarm-10 ~]# cat /etc/issue
> Scientific Linux SL release 5.7 (Boron)
> Kernel \r on an \m
>
>
>
>
> I decided to reinstall coreutils:
>
> [root@pcfarm-10 ~]# yum reinstall coreutils.x86_64
> Failed to set locale, defaulting to C
> Loaded plugins: kernel-module
> Setting up Reinstall Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package coreutils.x86_64 0:5.97-34.el5 set to be updated
> --> Finished Dependency Resolution
> Beginning Kernel Module Plugin
> Finished Kernel Module Plugin
>
> Dependencies Resolved
>
> ===========================================================================================
> Package Arch Version Repository
> Size
> ===========================================================================================
> Reinstalling:
> coreutils x86_64 5.97-34.el5 sl-base
> 3.6 M
>
> Transaction Summary
> ===========================================================================================
> Remove 0 Package(s)
> Reinstall 1 Package(s)
> Downgrade 0 Package(s)
>
> Total download size: 3.6 M
> Is this ok [y/N]: y
> Downloading Packages:
> coreutils-5.97-34.el5.x86_64.rpm | 3.6 MB
> 00:05
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Installing : coreutils
> 1/1
>
> Installed:
> coreutils.x86_64 0:5.97-34.el5
>
>
> Complete!
> =========================
>
> However after that I see
>
>
> [root@pcfarm-10 ~]# ls -l /bin/dd
> -rwxr-xr-x 1 root root 41464 Jul 26 2011 /bin/dd
> [root@pcfarm-10 ~]# rpm -q --file /bin/dd
> coreutils-5.97-34.el5
>
>
> [root@pcfarm-10 ~]# rpm -qa | grep coreutils
> policycoreutils-1.33.12-14.8.el5
> policycoreutils-newrole-1.33.12-14.8.el5
> coreutils-5.97-34.el5
> policycoreutils-gui-1.33.12-14.8.el5
>
>
> i.e. no package with name coreutils.x86_64
>
> I failed to find anything on the topic in scientific linux mailing list.
>
> Does somebody know about dd for 64 bit ?
>
> Many thanks in advance,
>
> Andrey
>
--
/------------------------------------+-------------------------\
|Stephen J. Gowdy | CERN Office: 8-1-11|
|http://cern.ch/gowdy/ | CH-1211 Geneva 23 |
| | Switzerland |
|EMail: [log in to unmask] | Tel: +41 76 487 2215 |
\------------------------------------+-------------------------/
|
|
|