Linux LVM users
 help / color / mirror / Atom feed
From: "Don Williams" <dwilliams@garfield.storage.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Problem copying device files to an LVM volume
Date: Wed Jan 16 14:17:01 2002	[thread overview]
Message-ID: <00a001c19eca$aca6cec0$38c8a8c0@caladanxp> (raw)

[-- Attachment #1: Type: text/plain, Size: 2905 bytes --]

Hello all,

 When I copy device driver files files via NFS to a LVM volume they are "interpreted" instead of copied.  The
result is that when the copy hits the sda driver it starts copying the entire contents of /dev/sda drive!  Instead
fo the /dev/sda file itself.  

 The file that it's trying to copy is from Tom's Rescue CD kit.   The dev files are sources files for creating a
bootable rescue CD.  

 My configuration is: 

 debian linux 3.0,  Kernel v2.4.17    Using ReiserFS 3.6.x  (I also tried using the EXT2 fs with identical results)


The SOURCE dir is about 5GB in size.  I'm trying to copy that to a 50GB LVM volume via the network
(NFS) .  However it consumes the whole 50GB.   If I remove the offending directories it returns to the proper size.
  Suggestions?

  Regards,

   Don Williams

   Storage Computer Corporation

   (603)880-3005 x115



  The output of the copy looks like this:

 
cp: writing `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sdb': No space left on device

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdc' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sdc'

cp: cannot open `/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdc' for reading: No such device or address

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdd' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sdd'

cp: cannot open `/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdd' for reading: No such device or address

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sde' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sde'

cp: cannot open `/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sde' for reading: No such device or address

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdf' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sdf'

cp: cannot open `/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdf' for reading: No such device or address

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdg' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sdg'

cp: cannot open `/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdg' for reading: No such device or address

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdh' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/sdh'

cp: cannot open `/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/sdh' for reading: No such device or address

`/nas/src/trccs-0.8.1r2/_system/_cd/var/dev/rtc' -> `/lvm2/src/trccs-0.8.1r2/_system/_cd/var/dev/rtc'



  corpnas:~# df

Filesystem 1k-blocks Used Available Use% Mounted on

/dev/sda1 2667848 634816 2033032 24% /

/dev/sda3 1776120 124360 1651760 8% /var

/dev/sda4 4254908 68664 4186244 2% /local/home

/dev/raid7/lvm2 51198432 51196436 1996 100% /lvm2   ** DESTINATION ***

garfield-int:/home 24409984 3448808 20961176 15% /home

garfield-int:/nas 37100944 5842216 31258728 16% /nas  *** SOURCE DIRECTORY ***

/dev/raid7/lvm1 51198432 2153480 49044952 5% /lvm1

corpnas:~# 


[-- Attachment #2: Type: text/html, Size: 5613 bytes --]

             reply	other threads:[~2002-01-16 14:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-16 14:17 Don Williams [this message]
2002-01-16 15:40 ` [linux-lvm] Problem copying device files to an LVM volume Luca Berra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00a001c19eca$aca6cec0$38c8a8c0@caladanxp' \
    --to=dwilliams@garfield.storage.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox