Ubuntu Servers :: Files Missing After Remounting Hdd?
Apr 20, 2011
i am running 10.10 server. i shut down the server to install a new hard drive for backups. When i remounted the drives and restarted the shares, About 10 very important files were missing. The rest of the data on the share is fine.
My computer crashes occasionally and all of the files that have been written in the last few hours seem to disappear. On XFS sometimes they turn up in lost+found after xfs_repair. The files in ext4 seem to be gone for good.Is there any way to force linux to flush the meta-data more often or something so my files stop disappearing?
My Proxy finally had a hard drive failure after 4 years of flawless service.So I'm building a new one. Got everything up and running except Dansguardian.
If I do a yum install dansguardian it does the install and all looks great until I go to the /etc/dansguardian folder. I'm missing all my folders and configuration files. For example:
exceptionsitelist bannedsitelist.... yadaa yadaa
Is there a problem on the repo (I'm using the default repo for fedora 11) or has there been a step changed since the last time I loaded this that I'm unaware of and unable to find a fix for?
My disks are constantly being remounted as read only. Even after I manually mount them and explicitly specify the rw option, after a while I find they have become read only. Needless to say, working like that is impossible. Fortunately the root partition is not affected, but every other partition is.
I'd like to perform a system backup (yast/system/system bkp - SUSE 11.1) Despite I indicate an external drive with enough free space, system bkp first uses /tmp. My /tmp is mounted with / on a small size partition (sda6) with only 7 GB free. I'd like to (re)mount it on sda7, then restart the system backup.
How to do it exactly? (read somewhere I can only re-mount /tmp on empty partition, which is not my case)
I have a volume that shows as the following when I do a df -h. How would I go about unmounting it so I can run an e2fsck on it, then remounting it? normally it mounts when the server starts, so i'm not sure how to manually do it.
How to properly integrate these RPMs into our system?
Option 1: we could take those missing OS RPMs and install them? Option 2: can we package the missing files from missing OS RPMs into the existing Linux-xxx.rpm?
I'm relatively new to linux in this capacity. I've had to reboot a SAN host (iSCSI initiator). I took a grab of the df -h output before reboot to ensure I was all mounted again afterwards.
I'm trying to resume copying from a mounted CIFS device to my local hdd with cURL. I tried
Code: $ curl -C - -O file://myfile and also
Code: $ curl -C <manual offset> -O file://myfile (looked up the manual offset using "$ wc -c")
This resumes copying if I cancel it eg with ^C.
But it does not work if I unmount and remount the CIFS device. cURL then ignores my given offset and continues again from start as if nothing were there without saying a word. With "-C -" the same effect.
I have a Dell Optiplex 760 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
running:
I tried to upgrade to FC11 via download and DVD and in both cases the install hangs on bootstrap right after remounting the root filesystem in read/write mode.
Since it hangs in this manner, I have not been able to gather any logs...
I changed to wubi last night, i decided to go that way cause i was informed it was a safe way to try giving it a try for linux and ubuntu without any special effort needed to be payed and easily deleted if i am not pleased.Thankfully i am pretty satisfied with the results, i pretty much dealt with most of the issues i have faced so far successfully and i am running it ok beside one important thing.See i am using my laptop, which has a hdd of 250GB.On my Vista there are 2 different hdd C+E by default, they separated my hdd.So while i have windows on C and E is pretty much used for my additional data(see movies, music etc) when i installed wubi i installed it on E, thought it would be better and it had more space.
Now though, while i can access threw ubuntu all my files that were located on C(vista) i cant access any of the E ones, and search file dont helps either.The "vista hdd" as ubuntu describes it, its a 250 gb disk on computer, which means it should contain both of the vista disks.But sadly thats not the case.i cant seem to be able to find them anywhere.
I have created 2 files and put them in a folder in ubuntu 11.04 64bit. The partition is ntfs and is shared b/w ubuntu and win7. The partition doesnot have win7 installed on it, win7 ubuntu and data partition are three seprate partitions of a disk. when i logged in win7 the files and folder newly created were missing. then i logged back in ubuntu and they were missing from there to.
I have edited /etc/fstab => "# data Drive UUID=C8E8EC38E8EC2682 /media/data ntfs auto 0 1"
so that the partition mounts itself at boot up, thats it I do not specifically unmount it, i just shutdown the pc normally. also win7 is hibernated, but its on sda0 its a different partition.
I'm configuring an Ubuntu server that's running x64 9.1. I installed the LAMP stack during the os installation and now I need to build an apache2 module. It appears as though apxs is missing. I've installed apache2-threaded-dev but am still missing apxs2.
When 1 of the terminals logs in most of the time they do not get the top or bottom "panels". I have had to add 2 side panels to get the buttons and menus.This only happens to 1 user when she logs in. IS there any settings that i could change ? When the user is logged in she can do what ever she likes when she gets the panels back. and the speed is lovely.
I'm using Ubuntu 9.10 AMD/64. I moved my data partition with GParted, resulting this message from GParted
... ( omiting all previous reported ok, gparted end of message: ) copiar 65536 sectores usando un tama�o de bloque de 65536 sectores 00:00:02 ( �XITO ) 65536 de 65536 copiados 1.43313 segundos El tama�o de bloque
Ok so I transferred about 6 or 7 gigs of music and videos to my laptop in 2 folders and 1 file just in the d:/ folder. This leftme with just one gig of space left on the drive. Now I turned of my computer and the next day when I turned it on, the files were gone or so I thought. The files are still taking up the space and when I tried defragging in windows, the files showed up under files not defragged and so did their old directories, but they still do not show up in ubuntu or windows explorer, I cannot navigate to them or open them, yet they are still on my hardrive and taking up space. How do I either get access to these files or delete them to free up space?
I have upgraded both my desk- and laptop to 10.04 a week ago, and with practically no problems. However, today both have problems during boot. It takes longer than normal and when I open the log-file I get a message "Could not open the following files". There is a long list of files in /var/log that couldn't be opened as "No such file or directory": pm-suspend.log, wpa_supplicant.log, syslog.0, jockey.log.1,kern.log.0, auth.log.0, daemon.log.0,debug.0, messages.0, dkms_autoinstaller and finally "/var/log/btmp: The file is not a regular file or is not a text file". Seems problem started after a kernel update today.
I had a drive failure on my media server. I have replaced the drive and since my backup was a bit out of date I lost some material.
I thought, no biggie, I'll get everything back in order and just use the Missing Files list in Rhythmbox to figure what's missing.
Problem. Though the file count diminishes as Rhythmbox scans the library for file changes, nothing is being added to the Missing Files list. I have done this on two machines (one the server itself, the other across a Samba share). Same behaviour.
I have never seen Rb count down files and not add them to the Missing Files list.
When I download something on ubuntu, I sometimes copy it over to my mounted Windows drive. When I then reboot into Windows, the files aren't there. They're missing. (It used to work before - now it's strangely stopped). When I log back into Ubuntu, the files are gone again!
I'm running 9.10 server on a mini-itx board. The CPU is Core 2 Duo T5450 and supports Enhanced Speedstep and the BIOS is set to auto, enabling C1E.I've been trying to get cpufreq to work but none of the drivers are present.When I try to load suitable ones they are always not found.Does someone know if cpufreq is not supported on the server kernal? Or what command will apt-get the modules that aren't here now?I've been reading the cpufreq tutorials but can't get past loading a suitable driver - which means I'm nowhere now. My notebook runs the same CPU and cpufreq is working fine with desktop Ubuntu install of 9.10.
I have got four webservers and one fileserver, all running Karmic and kernel 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux.A folder on the fileserver has been exported using NFSv3 with these options: rw,async,no_subtree_check and mounted on all four webservers with these options: efaults,rsize=32768,wsize=32768,noatimeThe webservers run Apache+PHP+APC. Some php-files include other php-files from the nfs mount, and are requested by users very frequently (~ 100 times per second). Sometimes but not always if I alter an included php-file using FTP (the FTP server is ProFTPD and runs on the fileserver), the file seems missing:user@webserver1: ~ $ ls --full-time -al /path/to/included/file.phpls: cannot access /path/to/included/file.php: No such file or directoryI can repeat this command for hours, but the file keeps missing. Until I query the directory:user@webserver1: ~ $ ls --full-time -al /path/to/included/ | grep file-rwxr-xr-x 1 1002 1002 14294 2010-07-04 21:11:30.000000000 +0200 file.php
My project for today has been setting up a web server. I was given a old computer with a Pentium 4 processor; 512mb of RAM, and a 42gig hard drive.I was reading over some guides and I came across this guide. It is very self explanatory; however I am having issues with my configuration files within Apache and my firewall (shorewall).I am focusing on web security. I don't even want to web edit until I know it is "lock-down" secure. In Apache are some supposed settings called Server Tokens and SeverSignature. I can't locate these files in my apache2.conf unfortunately.Here is what is posted to me in the config:
Code:
# # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions.
[code]....
Then press Control-O and Control-X. Your firewall is now configured to only accept HTTP and SSH traffic.I couldn't get that line of code to run. I've been all over the Ubuntu forums, google, Apache 2.2...
My system is setup like this: 1 250 gb HDD, with a 20 gig partition for /, 200 gigs for /home and the rest is a swap file. I also have a 1 TB (ext3) and 1.5TB (ext4) hard drive that are also installed, mounted to /Shared_1TB and /Shared_15TBI just installed Ubuntu 9.10 and everything seemed to be fine. I installed all the updates, install the Nvidia proprietary drivers and got my HDMI audio working. I went to try and play a video to see what would happen.... there are no files in /Shared_1TB. It is totally blank. I tried making myself the owner, and while this worked it didn't help anything. I tried unmounting and remounted, however it kept saying it was busy and wouldn't remount it. At this point I was a little panicked, so I threw in a LiveCD and low and behold once I mount it in the LiveCD all my files are there.
Just completed downloading kubuntu-9.10-dvd-amd64.iso and found that a few files were corrupted. Would rather not download again since I have a slow connection and this download took almost 80 hours!!
Tried torrent---doesn't allow downloading files in the iso.
The corrupt files are listed at the end. Can some kind soul provide a link to these files?
I have tried to compile several programs from source code and have into a similar error in each case. I try make the program and I get an error like: fail program confsdefs.h. Reading further into the log file, I see there is a long list of missing library files when I compile something like Samba 3.5.x:
[Code]...
I have searched for dependency information and used apt-get to add anything I can find. How can I identify and find the dependencies for source? I have checked the source documentation though typically does not list required packages. My other question is how to check the path used to locate the libraries? Given the length of the missing library list, I think the problem may be configuring make.
I downloaded Nagios Checker and i was told in this web [url] that i have to add the add-ons for Nagios Checker. But when i opened the firefox browser, i went to Tools > Add-Ons.. under the Add-Ons i did not see the Nagios Checker, by right it should appear..how come?
Regardless of the fact that editing these files is necessary for good functioning of my system, my standard 10.10 ubuntu installation seems to lack these files:
XF86config Xorg.conf /etc/printcap
Am I the only one who witnesses this in ubuntu? Perhaps I need to apt-get install some things? Knowledge about these files is important for my study.
One of my raid disks (was a software raid5 with 4 drives) failured. I wanted to buy a new 1.5TB harddisk anyway so i i copied all the Raid data onto the new disk and disconnected the old ones. But then the new Disc crashed right before i could mirror it with another 1.5TB disk. So i need to reassemble my old Raid 5 now. I connected the drives in the former order except the first one, because this was the failed disk. The problem is, mdadm can't find the raid, no superblocks. Fdisk doesnt show mdraid superblocks, too. But fdisk has never showed superblocks. The thing is, this raid was crypted, but i crypted the /dev/md0, so this doesn't affect anything here, or?
some infos:
Code:
server:~# mdadm --misc -d /dev/sda mdadm: option -d not valid in misc mode server:~# mdadm --misc -t /dev/sda
[code]....
Disk /dev/sdc doesn't contain a valid partition table But fdisk always said there is no valid partition table and the raid was working.