Hardware :: Network Shared HDD Freezes While Updating Some Backups
Jan 3, 2010
I have a 1TB Samsung hard disk placed inside of one of those boxes that transform internal SATA hard disks into an external USB disk. The disk is plugged via USB cable to my home server which runs Debian 5.0.3 and linux kernel 2.6.26-2-686. This disk is used to save some backups and files that we need to access often on different computers of the local network (using WinSCP). Today, something weird is happening. While updating some backups from one Windows Vista box with WinSCP, the connection to the server is lost and all the directories on the disk disappear. The disk kind of freezes.
Checking on system log, I find this:
Jan 3 15:20:06 BOX4 kernel: [675850.568009] __journal_remove_journal_head: freeing b_frozen_data
Jan 3 15:20:06 BOX4 kernel: [675850.568009] __journal_remove_journal_head: freeing b_committed_data
Jan 3 15:20:06 BOX4 kernel: [675850.568009] __journal_remove_journal_head: freeing b_frozen_data
Jan 3 15:20:06 BOX4 kernel: [675850.568009] __journal_remove_journal_head: freeing b_frozen_data
Jan 3 15:20:06 BOX4 kernel: [675850.568009] __journal_remove_journal_head: freeing b_frozen_data
Jan 3 15:20:06 BOX4 kernel: [675850.568009] __journal_remove_journal_head: freeing b_frozen_data
Jan 3 15:20:06 BOX4 kernel: [675850.568009] Buffer I/O error on device sda1, logical block 122061314
Jan 3 15:20:06 BOX4 kernel: [675850.568009] lost page write due to I/O error on sda1
The disk is not one of those old hard disks, I bought it less than a year ago. I tried to run some diagnostic tools like SMART but self test features and logging is not supported (maybe because it's USB). The disk inside the external box is a SAMSUNG HD103SI. I don't know what to do and we really need this up and running. Also, obviously I mounted it again and tried to perform the SSH backup once again, but it failed again. Another fact that I would like to refer is that I have a second 1TB SAMSUNG HD154UI hard disk which is only used to store movies and music, and is up and running without any problems, so I wouldn't say it's controllers problem.. ! What should I do now?
I've been a DOS/Windows guy for 20 years, and recently became a SW test lab helper. My company uses CentOS for a lot, so I've become familiar with it, but obviously not as comfortable as I am with Windows.
Here's what I have planned:
machine: Core 2 Duo E8400, 8GB DDR2, 60GB SSD OS drive, ATI 4650 video card, other storage is flexible (I have 3 1TB drives and 4 750GB drives around that can be used in this machine.)
uses: HTPC, Network Storage, VMWare server host: SMTP, FTP server, and Web server virtual machines
I've figured out how to do much of this, but I haven't figured out how to do backups in Linux. I've been spoiled with Windows, with the built in backup system so simple to use. I find myself overwhelmed with the array of backup software, and unable to determine which to use. none of them seem to do everything I need them to do, but some come close, I think. I'm hoping someone here can help me out in figuring out which program to use and how to use it.
Here is what I need the backup software to do: 1. scheduled unattended backups, with alerts if the backups fail 2. a weekly full backup with incremental every 12 hours 3. removing the old backups when the new full backup runs, I would prefer to keep 2 weeks of backups, but that's not necessary 4. a GUI would be preferable, since my arthritic fingers don't always do as I want them to do. I typo things a lot, and the label worn off my backspace can attest to that.
How do you get Rsync to do incremental backups rather than full backups? At the moment I have a script that will create a backup folder (if it doesnt already exist) then copy the source files into the backup directory with the command
Target is where the files will be backed up to Sources is the dir(s) to be backed up Exclude files is the list of files not to backup log file is where the output will be saved to. At the moment it only does full backups, but I would only like to do incremental, how would this be achieved? Am I missing out an option in the Rsync that is required.
Lucid Lynx keeps giving me headaches. This is the second update to bork my system. I update my system daily and yesterday's update (July 24th) simply failed to install. It froze on Unpacking replacement files. I left it running and went out, came back 36 hours later and it was still at the same point.
Killed apt, dpkg, then removed the locks (/var/cache/apt/archives/lock and /var/lib/dpkg/lock), ran sudo dpkg --configure -a, and ran the upgrade again. Again it freezes unpacking base-files_5.0.0ubuntu20_amd64.deb. Killed everything again and tried it from the gui and same result.
My system won't update. And since a kernel update is listed among the things to be updated, I am not going to be able to shut down my computer, lest I can't boot it back up. And since the system now sees the unfinished install, I also cant install any new software. Here's where it freezes.
Ok, so I just finished correcting my driver issue with my wireless card when I'm struck with another problem....after gaining access to the net and updating my packages, ubuntu fails to boot up. It freezes at the boot screen where it runs the 5 orange dots with the ubuntu logo.
I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.
I have a small network setup and I cannot get DNS to work. DHCP is functioning normal and working fine but it cannot update the DNS pointers for some reason. My files are below.
I try to update a Lexmark C543dn Color laser printer as of indications in the doc of Lexmark which go:On the computer attached to a network, put in the IP address. then you should come to the menu.
I do not have a network. I would like to know if it is feasible and if how to do the following.Take the laptop, branch laptop and printer of an ethernet cable. Use the laptop to do the network with the printer, and then access the http menu of the printer. I do not have a router, I do not have the possibility to buy or borrow it. Either there is a possibility to do it straight away in this fashion or I cannot update the firmware (at least in Windows).
After a recent installation and update I am having problems connecting to the internet even after following the steps in [URL]... Configure a network card in Suse/openSUSE...." It doesn't always connect when I boot and there is no connection icon on the panel nor the KDE desktop. Can someone assist me with this problem?
I am having trouble seeing files on the network in shared folders.I have samba installed. I run win7 though a virtual machine and it sees the files file, but when i run dolphin, network, then network again, i only see my computer there, no others.
I just upgraded from SuSE 11.3 to 11.4. For some reason, I can no longer access my shared drive from any other home computer. I can get out to the internet. I can ping other PCs on the network. Other PCs can ping me. My router sees all computers, and has assigned IP addresses dynamically. I have a shared folder, exported as an NFS mount point, that used to work! I've tried setting up Samba shares. Nothing! I disabled the local firewall, as my router already has a firewall running. Nothing! Nothing I've tried seems to work. I can not see that NFS mount point from any of my windows PCs. (I only have the one Linux server running, so I can't say whether another Linux box would see it or not!)
Mac OS X has built-in support for internet connection sharing through the settings as in the following screenshot:
This works very well with other Macs, but I'm having problems connecting to such a network using Linux. I tried all combinations of configuration, double- and triple-check the WEP password but could never get an IP address. In a last effort I also tried without encryption, but still couldn't get my Linux box connect to the network.
I don't know if Windows has the same problem. Now I'm suspecting two things. Either I misconfigured something in my Linux installation, or OS X is doing something smart and makes it difficult for non-Apple devices to use the network (I also tested with an iPhone, it connects very well, unsurprisingly). Now what is wrong? What do I have to do?
When i first installed ubuntu on my laptop i could access the shared folders i had put on the network with windows through ubuntu, read and write files, copy and paste them etc. I tried recently going to Places>Network and i get this error: failed to retrieve share list from server
It never used to do this, in fact when i went to places the network was not called "network", it was my own title. i can connect to the server with the ip address, but that only lets me take files from the windows network, and not the other way around. I really have two issues
1. cannot place files on the network from my ubuntu laptop 2. cannot connect to shared folder network from places like i could before
I'm attempting to write a simple BASH shell script to copy some files from one of my Ubuntu machines to another Ubuntu machine's shared folder. I've searched the forums but I haven't found anything on simply using cp across a network.Since Nautilus can do it I presume I should be able to do it from the terminal or from a BASH script -- this might be my first mistake?I have tried the obvious:
cp My_local_file //Name_of_other_ubuntu_computer/shareddocs and cp My_local_file smb://Name_of_other_ubuntu_computer/shareddocs
but those don't work. Sharing is enabled for the shareddocs folder. I have tried mounting the remote shareddocs folder but it seems I need to install some other package to do this? If this is true, how does Nautilus manage to do it without an additional package?
Using debain 5.0.4 with webmin 1.500 and dhcp3.i have two subnets (192.168.1.0 & 192.168.2.0)at home. The debain dhcp server has 1 NIC using eth0 and eth0:1 (virtual).
I have configured the dhcpd.conf file using webmin, with a shared network, given the two subents are on the same physical network. each subnet has a pool of about 20 addresses.Problem is that when a host boots up which is under the 192.168.2.0 subnet (using its MAC add - no fixed ip assignment), it gets the associated DNS and gateway ip addresses for this subnet, however, the ip address is assigned from the 192.168.1.0 address pool.
I have checked the net extensivly finding all sorts of discussions and solutions. My problem occurs in the same manner irrespective of whether i connect a host direct to the dhcp server or via a (netgear) switch! Please can someone advise on what settings i might be missing, or do i need to set up DNS/DDNS and/or a firewall/router before this works properly?
I have in fact set the folder to shared.I can see my computer or "server" on the windows network.My router is all that ties my network together.And I have a criminal history...okay that last one was a lie.But really I'm stuck here I can't figure out how to let the windows network see my shared folder.
I had this issue with Fedora Core 13, so I switched my laptop back to OpenSuse and continued to have the problem. I can do a host lookup for software.opensuse.com and I get a correct response ... Code: linux-edxs:/etc # host software.opensuse.org software.opensuse.org has address 195.135.221.150 linux-edxs:/etc # host download.opensuse.org download.opensuse.org has address 195.135.221.134
Firefox works. Thunderbird finds my mail servers just fine. SSH works. But then when I try to do anything involving software updates or installation, I get ... Code: linux-edxs:/etc # zypper update Retrieving repository 'Updates for openSUSE 11.3 11.3-1.82' metadata [] Download (curl) error for '[URL]': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org'
I've seen others here post queries about this, and I'll tell you what it was in my case: our DSL modem's DHCP server returns its own IPV4 address as the DNS server. When I looked at /etc/resolve.conf, I saw "nameserver: 192.168.50.254" on the last line -- the IPV4 address of our DSL modem. I manually inserted "nameserver" lines for our ISP's two actual DNS servers, and everything magically started working. Why this should confuse some software under Linux, but not other software, is a mystery. It also seems to be Gnome-specific (I didn't have this problem with OpenSuse 11.3 and KDE 4).
Ask if they're using Gnome, and ask them to check resolve.conf. A lot of DSL modems and home/small office routers return their own IP address (i.e., the same as the gateway address) for the DNS server on a DHCP query. The solution is to manually edit resolve.conf and put in your ISP's DNS server addresses manually. Incidentally, just my opinion, but Network Manager needs to make this an option. Under Windows, for example, you can select "automatically assign DNS" or you can enter them manually, even if you're using DHCP. It'd be nice if Network Manager permitted that.
Unfortunately I haven't been able to figure out yet how to share specific directories only, so I set up my Samba server to share users' home directories (which is not a security issue here since the only possible client is my other machine). My user's home directory contains a symlinked directory on another hard drive partition, which I had to explicitly share to be able to access it from the other machine. This setup has been working for months now, but for a reason that escapes me at the moment it stopped working today, presumably after samba got updated from 3.4.2-1.1.3.1 to 3.4.3-3.2.1.
The error message on the client (Windows XP/SP3) for this one above mentioned directory, and for this directory alone, is "Access denied"; I can access all other directories fine.
I want to print from my linux box to my win7 pc that has a shared printer. I have cups installed and tried to add pritner using samba, but was unsuccesful, gave me an error when trying to add. The guide i followed is: Yet another Linux to Windows printing tip -- Debian Admin The printer model is a dell 2330d laser printer, it is not in cups, so i added the ppd file i got off the dell support site. I am aware that there is a native suse driver, but i want to print to the windows printer.If possible I would like to know how to do this via command line instead of the GUI.
I just started with my linux opensuse. I always used windows, but i changed to linux. With windows you always could easily connect with command promp to a shared file on a other intern computer. How can i do this with opensuse?
So, it took me a few years to come back to Linux. Had used it MANY years ago, and have been meaning to revisit it for some time now and finally have. Tried a couple other OSs that were just, frankly, garbage. But, not Ubuntu! So far, I haven't had any of the issues I've seen posted here. I decided to use my worst system as a test environment - an old Jetta Jetbook 9450. Loaded up with no problems, most noted none of the "searching for drivers" issue that I ran into with other OSs! All that being said, I do have one question - how do I get the laptop to join my network so that I can view my shared drives? In Windows, it's simply change WORKGROUP to my network name. Been flipping through the options, and I'm sure I may have overlooked it.
I did set samba server up. I just modified only one configuration from default /etc/samba/smb.conf file.
Just workgroup = MSHOME to workgroup = WORKGROUP. And browseable = yes. Beacuse my xp workgroup is WORKGROUP. So I changed as same workgroup name both unbuntu and XP.
But I couldn't find samba pc on network places at XP. I have started smbd and nmbd already. There is a ridiculous something. I can access samba at XP only typing \samba IP address. But why I can't see at network places. I am using ubuntu 10.04 TL.
I have a Windows maching with an attached NAS Drobo device. I have a linux maching running Ubuntu 11.04 and have edited the fstab file and been able to map the windows folders for the Drobo and they all mount up fine. On the Linux machine itself can access these folders and run music/video files from them. But when I'm at another computer and SSH into my Ubunutu maching, I can see the mounted folders using the ls command but I can't see the contents of those folders.
I am brand new to the world of Ubuntu 10.10. I have an acer revo 1600 that was running XP until this weekend, when it crashed. I have installed Ubuntu 10.10 on my machine, and cannot get it to find my Hiro H50191 (which runs on realtek drivers) wireless usb. I run strictly wireless, with no way to run an ethernet cable directly into the computer, unless i can somehow use my shared network off of an old Dell laptop running XP.
having upgraded two days ago to lucid studio from karmic studio, i have had recurring issues with either a total lockout of wireless connection, despite inputting IP and WEP etc correctly and telling me it has full connectivity. my other problem was i had wireless connection, but could not connect to the repositories for updating or downloading new software.
My USB printer is connected to an OpenSUSE 11.2 desktop on a home network. I shared the printer with samba and can print from a Windows XP notebook connected to the network, but whenever I try to connect a Windows 7 machine, I always get the message that Windows cannot connect to the printer.
Just tried to be as descriptive as possible in the title. I'm running Opensuse 11.4, KDE 4.6.5 under Tumbleweed repos. I have an external HD with two partitions (Argos & Hercules) mounted in fstab as follows:
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf: anyone see any possible causes of problems? # Samba config file created using SWAT # from UNKNOWN () # Date: 2010/08/19 13:03:07
I have a D-Link DNS-323 network drive which mounts at multiple points to my filesystem when booting. I had to make some fstab changes when I upgraded from 11.2->11.3 last year, and now the same thing seems to be happening since I've upgraded to 11.4. When I login to my profile the desktop hangs and no icons appear. I cannot open a Nautilus window, or access ALT-F2, however just about every other program works fine. Since I disabled the fstab lines (slightly modified when copied here to generalize):
the desktop icons load and Nautilus works. Can I adjust my fstab syntax to correct this and get my network drives back? I think last year the issue was in referencing the ".creds" file...