General :: Cp -ru -> Using The Recursive Copy And Update From Internal Drive To A Mounted Nas
May 4, 2011
I've mounted my NAS drive under the /media/ directory. I've copied a bunch of files from my current /var/www directory, using cp -Rpv (preserve). Now I want to do a cp -Rup /var/www/ /media/magneto/testing.cdw/ Based on the fact that these are two different file systems, i.e. one is a networked NAS connected through Samba, and the other is my computers internal drive. Will I run into problems with the date and time? how can I check before I run the copy?
View 4 Replies
ADVERTISEMENT
May 14, 2010
I have mounted a iomega file system on a cetos os machine using
mount.cifs //filserver-ip/directory /home/my-home/mounted-file -o
user=username
(** mounted as root) The mounting works fine.
The problem arises when I try to create a sub-directory inside the mounted directory. All the newly created sub directories become write protected.
I am accessing this file system from R software and it needs to write/create directories in side this mounted directory.
how can newly created sub-directories will become automatically writable, so that R can create new sub-directories and write data inside those directories.
View 2 Replies
View Related
Apr 29, 2010
i'm installing a Linux system just simply following guide by fellow friends comunity. Currently, my box are having 2 HDD with 35GB each capacity. Displaying in GNome (36.2 GB Encrypted Data). During installation, I'd selected :
*Remove Linux partitions on selected drives and create default layout
*The "Encrypt system" option
View from terminal :
# /sbin/fdisk -l
Disk /dev/sda: 36.4 GB, 36401315840 bytes
255 heads, 63 sectors/track, 4425 cylinders
[code]....
In Gnome desktop, when I right click and select mount volume, it will display : "Unable to mount location. Internal error: No mount object for mounted volume"
View 9 Replies
View Related
Jan 25, 2010
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
View 2 Replies
View Related
Jun 23, 2010
How do you find the device (e.g. /dev/*) for a mounted USB drive in Linux (Ubuntu 10.04)? I'm trying to format a Cruzer USB flash drive, and when I plug it in, the icon for the mounted filesystem appears on my desktop. However, when I open GParted, it doesn't list the filesystem as an option to partition.
The recommendations I've found through Google include monitoring tail -f /var/log/messages, which they claim should list the device name when the drive is mounted, but this never happens for me. I've also read that the USB drive would usually be linked to /dev/sdb, but this appears as a broken link on my filesystem. How else would I find the device?
View 3 Replies
View Related
Jan 23, 2010
The /mnt/ext is mounted to an ext2 filesystem, an external hard drive. For some reason I can't run scripts from there. Please see the session below.
luntain@plato /mnt/ext $ echo "echo success" > k.sh
luntain@plato /mnt/ext $ chmod 777 k.sh
luntain@plato /mnt/ext $ ./k.sh
[code]....
View 2 Replies
View Related
Aug 18, 2010
Noticed this in both Ubuntu 10.04 & now Mint 9, both Gnome. I didn't have PCLinuxOS2010 KDE installed long enough to experience it so I don't know if it's a property of Linux or part of Gnome.I have two users, both myself and my wife, and I noticed thatn I mount an internal SATA drive I can only see/access it under the user that mounted it. In order for the other user to see it I need to un-mount the drive. Drive is a 1TB SATA formatted NTFS.I can't imagine this is normal and the 2nd drive is shared for pics/data/etc. Strange quirk is that my install is on a partitioned primary drive, 320gb, that also has Windows on it so the OS must access the drive in order to boot - both users can see the mounted 215gb Windows NTFS partition simultaneously.Is there a setting that needs to be changed or is this normal?
View 8 Replies
View Related
Mar 16, 2011
I administer a remote server via SSH that runs CentOS 5.5. I have been unsuccessful in all my attempts to write to two different external USB hard drives with a single ext3 partition when logged in as root.
When attempting to create a "test" directory I get one of two messages:
Quote:
Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:
Quote:
Keep in mind this is a newly-formatted, empty drive.
Not putting stock in the odds that I've had two hard drives (different sizes and brands) with the exact same hardware problem, I'm going to assume this is a software issue, although maybe it isn't. Hence, my post in "Linux - General". I've heard talk elsewhere of controller (chipset) issues coming into play. Is this valid?
Okay, here's the information you'll need to make a diagnosis....
Here's the output of a "df -h" command:
Quote:
Here's the contents of my /etc/fstab:
Quote:
Here's the output of "cat /etc/mtab":
Quote:
Here's the output of a mount command:
Quote:
Here's the output of fdisk on the device in question:
Quote:
The number of cylinders for this disk is set to 48641.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
I've got someone with access to the box if necessary. But it might take days to implement solutions since this isn't his full-time job. Remote solutions are, therefore, preferable.
View 13 Replies
View Related
Jun 12, 2011
My version of linux has a bunch of GUI icons on the left hand side of the screen (vertical). Most are links to programs.You click the GUI icon and the program opens. When I mount my internal hard drive it adds a GUI icon for the drive. The problem is when I click on this new GUI icon it automatically loads K3b and gives an error message instead of giving me a list of what is on my drive. I deleted the program K3b and tried un-mounting then re-mounting the drive. I then tried the new GUI icon for the drive and now it automatically opens Dragon Player.
View 1 Replies
View Related
May 16, 2011
I am running Windows XP on my PC. I installed a new SSD Drive, which is OCZ-VertexII 120GB. I would like to run Windows and Ubuntu 11.04. The Ubuntu 11.04 Live-DVD runs fine, but when I click on Install, I get to the Screen where it ask if I want to install Ubuntu Side by Side with Windows or want to replace Windows, Ubuntu does not recognize the second SSD-Drive. how to install Ubuntu onto the second SSD-Drive and install the Boot loader onto the First Hard-Drive?
View 2 Replies
View Related
Aug 6, 2010
Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process.
/mnt/sdb1
View 4 Replies
View Related
Jan 6, 2010
Im using it in an attempt to backup all of the files off of my dead Windows xp Computer. Right now I am using the 9.10 live disk of Ubuntu and cannot get the program to recognize what kind of file system my internal hard drive is using. (A western digital 320 GB hard drive with partition 1 in NTFS and part2 in FAT32) I would like to be able to back up this drive onto my 1 TB Western Digital external hard drive that is also in ntfs.
Now here comes the wierd part, it won't read or recognize my interal and external hard drives that run those file systems but it will recognize and allow me to read, edit, and access all of the ntfs hard drives on my home network. I did some lurking and tried a tutorial for creating a mount point and on how to force mount a disk, but neither of my disks would show up in Places/Computer. So then I checked the /etc/fstab file and is says,
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
Which I think means that it says I have no hard drives installed or connected to the computer. Yet when I go into Disk Utility it tells me the disk is there and asks if I want to format the disk into ntfs...
View 10 Replies
View Related
Apr 7, 2010
I recently scapped XP Pro on an old laptop (Toshiba Portege 7220)as it was so slow and I installed Ubuntu 9.10 - All installed ok and it worked fine for about a month. Last week I switched on, got the Ubuntu splash screen and thats where it stayed. I gave lappy to a friend of mine that knows about Pc's (hahaha). When I got it back he said he'd wiped the HDD and partially installed xp. The install apparantly hung after the reformat and copying files onto it.My problem now is I can't boot from HDD, Ubuntu Live CD or Windows CD - Laptop is set to boot from cd then hdd.When I try to boot from CD, the cd is read as I hear the drive being used also see light for cd flashing, after a while i get a blank screen with flashing cursor in top left corner and the cd stops.If I remove the HDD and put it in external usb caddy I can see the windows folders/files when plugged into my desk top.My questions are :-
1. Is there any way to make the drive reusable as a internal drive again as I know it works as an external drive.I would like to reinstall Ubuntu on it
2. Is it a fault with the laptop itself - how do I check
View 5 Replies
View Related
Jan 19, 2011
I have just installed Xubuntu and suprisingly it did not ask me to create a partition within its installer like Ubuntu does. So now, I am left with 150mb of free space. I want to expand that amount. The problem is, I do not know where it has been installed on. I have a C and an E drive. Currently, the C drive is mounted and the E drive will not mount even if i press the mount button. Does anyone have a solution?
View 8 Replies
View Related
May 26, 2011
I am running a hp dv701175nr laptop and am booting ubuntu 11.04 from a usb flash drive. I can not seem to find my internal drive that has windows 7 stored on it. I tried to mount it but it give me this error:
Error mounting: mount exited with exit code 1: helper failed with:
mount: according to mtab, /dev/sdb1 is already mounted on /
mount failed
I can't use this operating system if I can't access my windows 7 drive and I really want to use this OS .
EDIT: Okay, so I think I have found my problem, but I don't know how to fix it, there are differences in my mtab and fstab commands, I will post what they say in a second, but I do not know how or what I need to do to change and make the settings right
View 9 Replies
View Related
Apr 6, 2011
I am getting a SSD and I'd like it to become my new Linux boot drive. However, it is smaller than my current hard drive's root Linux partition, so I'd like to copy over the filesystem and exclude some directories (which I'll leave on another hard drive). So I can't just clone the partition with parted or similar because it is too big.
I want to make sure all the data, metadata, links and such are preserved. That seems to exclude "cp" because it doesn't preserve all the metadata and link information.
The two basic techniques I've been able to identify seem to be something like:
find / -xdev -print0 | cpio -pa0V /mnt/dst
and:
rsync -avP -H -S --numeric-ids / /mnt/dst
Can anyone chime in with what they've used in the past, whether one of these or a different method, or if they see any flaws in these approaches.
View 2 Replies
View Related
Dec 2, 2010
I installed Debian squeeze to 40Gig pata hdd on my AMD 1090T desktop, with1Tb sata hdd.
Now that I'm quite comfortable with dual-booting, I'd like to transfer 40Gig Hd(sdb) to sda3. I viewed this thread, which is similar to my situation, but not quite the formula.
[URL]
I intend on reading more on this 1 to see if what I'm looking for is include.
[URL]
I've never done the dd command, so it's not like I'm going to do it today, but would like a little bit more documentation to get a further understanding of the dd command.
View 14 Replies
View Related
Mar 19, 2010
Trying to copy ISO images over to a external hard drive, when copying it reaches 4GB then stops.I have tried the same with a external usb thumb drive as well and the same thing happens so it is not the external drives running out of space. The error reads.Error Writing to file is to large.
View 9 Replies
View Related
Jul 21, 2010
I have a copy of Linux file system in /home/user/desktop/fs/how tp copy it to a usb drive preserving the links
View 2 Replies
View Related
Aug 15, 2011
I would like to understand the following:
I have a Debian installation CD that I can boot from. Now I copied that to an USB-stick using dd
dd if=/dev/sr0 of=/dev/sdc bs=1M
The CD-image should contain a boot-sector and everything else that is needed for booting, yet the USB stick does not boot.
What am I missing - why does the stick not boot?
PS: I am not interested in tips on how to create a bootable stick, I only want to understand why the above method does not work.
View 2 Replies
View Related
Jul 11, 2011
i am putting a larger drive in my laptop, i have linux mint 10 KDE setup with all the software i need and running just the way i like it. is it possible to actually copy the entire partition to a external drive then place the partition back into my laptop with the new drive in it, and still have it all setup the way i had it?
basically so i dont have to reinstall everything and set it up again.if this is possible could you please explain how i can do it in the simpliest terms at all please.
View 6 Replies
View Related
May 23, 2011
After update 11.2 to 11.4 copy jobs from netware 5.1 volume to local disk linux system does crash after a couple of seconds. I might have to do if there a allot of small files in that job. If happend system reboot is required because unmount netware volume nor delete copied files to the local linux system is not possible. Recompiling ncpfs package not possible because error free source package ncpfs version 2.2.6 might not be availble.
Error message:
May 22 19:31:03 jaci kernel: [ 4694.764721] ------------[ cut here ]------------
May 22 19:31:03 jaci kernel: [ 4694.764730] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-2.6.37.6/linux-2.6.37/include/linux/dcache.h
[code]...
View 4 Replies
View Related
Nov 20, 2008
I'm connected remotely with Putty to a linux server and I need to get the files from a directory on the server onto my hard drive on my laptop. I don't know what the secure shell command is to download it or what exactly I need to do so I can get these .root files from the server copied onto my local hard drive.
View 2 Replies
View Related
Apr 10, 2010
I have a WD world book edition 1TB NAS drive, and just purchased an acomdata 1tb drive and connected it to the NAS via USB. If I recall I think the WD NAS has a ext_ or some type of linux filesystem on it, and the acomdata has a ntfs filesystem on it.
What I want to do is copy over certain directory trees of the NAS to the USB attached drive. I usually use MS synctoy to sync folders from my windows pc to the NAS drive, and MS richcopy to make the initial transfer from PC to NAS. For this operation though, since it is taking place entirely on the NAS and its connected drive, I thought that rsync would be the best option, and it is available on my NAS drive.
Last night I entered in rsync -avr /movies/* /usb1-1share1/ to copy the entire "movies" dir to the drive, which shows up as usb1-1share1 on the NAS drive. It copied most of the directory tree ok, but a lot of the folders were empty, so this morning I tried rsync -Carv --ignore-existing /movies/* /usb1-1share1/ to try and get all the files missed, without recopying the 24GB that did make it across. This also managed to copy a few more GB over, but not everything.
I am running the command from an ssh session on the NAS using putty on my PC, in as user "admin" which should have all rights over these folders. There is a bunch of errors in the command window like this: rsync: failed to set times on "/shares/usb1-1share1/movies/classics/fulldvd/First Blood DVD/.VTS_01_2.VOB.RxdjWZ": Operation not permitted (1)
I want to restart another session and get the files it missed, but I want to find out what I am doing wrong first. Should I be doing this as root user? am I missing some switches or just plain doing it all wrong?
View 3 Replies
View Related
Jun 11, 2011
How do you copy everything in the home directory to an external drive while running in rescue mode?
View 3 Replies
View Related
Nov 6, 2010
My system has a 3-1/2 floppy drive. I do not know how to open it to copy files to a CD. My system knows itis there since booting with a data floppy gives a non system disk error. nce in Ubuntu, the floppy drive does not appear in "places computer".ince I am completely new to this system, I do not know how to proceed
View 1 Replies
View Related
Jul 7, 2011
I would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
View 3 Replies
View Related
Sep 23, 2009
I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.
cp gives the following error--->
cp const1.java /home/user1/Documents/scjp
cp: cannot open `const1.java' for reading: Permission denied
lsattr shows this--->
lsattr const1.java
lsattr: Permission denied While reading flags on const1.java
mount shows this--->
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
View 3 Replies
View Related
Aug 3, 2010
I have two servers. One of them has a svn server running and another hosting projects.
I have a daily cronjob updating the projects -- ie running svn update, rebuild etc.
Now, my cronjob on the remote server works.
However, a similar cronjob running on the local server for local projects (ie the same server as svn) is instead displaying a "svn: not working copy".
I double checked the paths, permissions and user info and if the script is launched manually, it works fine.
Deploying the same thing remotely works.
I even tried using file:/// (suggested here http://www.hightekhosting.com.au/myaccount/knowledgebase/90/Using-SubversionorSVN-on-cPanel-Servers.html) but still nothing.
View 1 Replies
View Related
Jan 23, 2010
My home server runs Debian Lenny, and I'm about to upgrade the system drive to a larger drive.In the process, I want to take the opportunity to reorganize the partitions and resize them. For learning purposes, I'm planning to migrate from an MBR partition table to GPT.Because of those two changes, I can't just run "dd if=/old/drive of=/new/drive" (well, not without lots more work afterwards). I could use the debootstrap process to get a fresh installation on the new system drive, but I used that technique during the last system upgrade and it's probably overkill for this.Can I just copy the partitions from the old drive to the new?Will "dd if=/dev/hda1 of=/dev/hdb2" work, assuming /dev/hdb2 is larger than /dev/hda1? (If so, the filesystem can be resized to take advantage of the new larger partition, right?)Would parted (or gparted) be a better tool for copying the contents of the partitions?
View 3 Replies
View Related