Ubuntu :: /dev/sdc1 Displaying / Contents After 1 Day?
May 11, 2010
I was running 9.10-64, upgraded from 9.04 on a 160GB separate boot drive with a 1TB drive for storage. I had mdadm software RAID on 3 500GB drives. I copied off the contents of the md0 RAID device, formatted from ext3 to ext4, then copied it all back. I operated for several weeks this way with enhanced performance and no issues.note: All drives are on MB SATA-II.I wiped out everything and reloaded the 160GB drive with 10.04-64. I removed dmraid and set up mdadm as before with no immediate problems.
The next day, when I pulled up the contents of the 1TB drive (mapped to /1000), it displayed the contents of the root instead. Curious, I attempted to tunnel down to the /1000 folder from within its own listing of /, and saw no files listed. I proceeded to delete the files in the /1000 folder, whereupon I found that my system became unstable. I must have somehow been deleting files from the root itself.I reloaded again. To check if the SATA connector to the 1TB drive may be somehow suddenly faulty, I reordered the connectors and set up the boot priority in the BIOS to match the new configuration. The next morning, I was once again able to see the contents of / when ls'ing /1000. I carefully checked the entry in fstab, the fdisk -l output, and made sure that the directory wasn't somehow showing as a link.
For the next attempt I decided to take ext4 and mdadm completely out of the equation, hoping it was a bug with some combination of the two under the new kernel or something else which could be corrected by replacing the software RAID with a physical controller at a later date. Instead of RAID, I simply formatted each of the 500's as ext3 and mapped them to /500-1 through /500-3 respectively. However, after a day of normal operation, I am now able to see the contents of / when I ls /500-3. The other 4 drives appear to continue operating normally.I have been unable to pull up a similar post prior to creating this one. Perhaps I don't know how to properly search for this issue. If anyone has seen something similar, please link me to the solution.
View 2 Replies
ADVERTISEMENT
Nov 19, 2010
I have this project for my operating systems class and I have put together the basic flow chart to aid me in writing the program. I know how to use pipes as a buffer to hold info. I know how to create a binary semaphore. But what I dont know is this:
How to "use a delay adjustment parameter K in the critical section to adjust the speed of the display process to show that without semaphore protection the displayed contents of the buffer are randomly interleaved."
First off, I am definitely not asking anyone to give me the solution. But I do need some guidance. So I figure there will be an if statement with two options:
1. If true, use semaphore protection to enter/exit critical section
2. If false, no semaphore protection -- this is where the contents of the buffer should be interleaved.
Now does that mean that as each child process enters the non-protected critical section, it should "sleep" for a randomized time? I mean, will this allow my output to be interleaved?
So lets say my command line looks like this:
what happens to the 100? Is it randomized using rand and srand and passed as a parameter to sleep() inside the critcal section?
View 5 Replies
View Related
Jul 26, 2010
Is there a way to essentially make all of one folders content as a system link in another folder (I have "My Documents" on my external and my computer, they have different things, I'd like to have one "My Documents" which shows both contents and hide the other two
View 3 Replies
View Related
Mar 25, 2011
i've just triede setting up my new raid with 4 discs however it wont let me create the raid?
Running my harddrives through a
Quote:
Promise SATA300 TX4 interface/controller
Thats my create command:
Code:
sudo mdadm --create --verbose /dev/md0 --level=5
raid-devices=4 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
Error msg
Quote:
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 64K
mdadm: /dev/sdc1 is too small: 0K
mdadm: create aborted
if i try and do
Code:
sudo fdisk /dev/sdc
and tjek partitions with
code....
View 1 Replies
View Related
Feb 14, 2011
Everytime i log into my server, I get the message Displayed "/dev/sdc1 will be checked for errors at next reboot"
However, despite many reboots this message does not clear.
I cannot run FSCK on this partition as it is the boot partition.
I would like the device to get checked at reboot, any ideas how I can trigger this check , and that might clear the message
View 5 Replies
View Related
Nov 3, 2010
Installing in external drive at the point where to put the GRUB loader I have these choices :
1. Master Boot Record (MBR) at -dev/sda (internal HDD)
2. First Sector of boot partition - dev/sdc1 (external USB HDD)
How can I put MBR in sdc instead of sdc1?
View 2 Replies
View Related
Sep 29, 2010
Blank USB flash drive = /dev/sdc
#dd if=image_with_2_partitions.img of=/dev/sdc
#ls /dev/sd*
only shows "/dev/sdc"
How do I appear /dev/sdc1 and /dev/sdb2 WITHOUT unplugging and plugging back in the USB drive?
View 1 Replies
View Related
Jun 6, 2010
I recently installed Ubuntu 10.04. I'm trying to become familiar with the file system. I noticed my MP3 player (USB) is not mounted automatically when I plug it into the USB cable. I searched Google to find out how to auto mount this device and it worked. However, I didn't give this enough thought to what I was doing I guess. Now if the MP3 player is not connected to the USB cable the boot process stops at the splash screen waiting for the device. The window on the screen states the following:
The disk drive for /media/sdc1/ is not ready or not present. Continue to wait or press S to skip mounting or M to manual recovery.
I don't remember what I did to start this whole mess so I don't know how to undo it? Could someone please help me undo this? I would like the device to auto mount ONLY if it's plugged in if this is possible.
View 15 Replies
View Related
Aug 5, 2011
Quote:
Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sdc1': Permission denied
Failed to mount '/dev/sdc1': Permission denied
[code]....
How do I get past this error?
View 1 Replies
View Related
Dec 25, 2010
I have an external WD drive (model WD800B015) that works fine under Windows. When I try to mount it under Slack 12.2 (kernel 2.6.27.7-smp), I get a message saying "/dev/sdc1 is not a block device." WD categorically does not support Linux. A google search has not produced any useful results.
View 7 Replies
View Related
Jan 9, 2010
I have two hard drives in my compy. One is 500 gb and the other is ~40 gb. I tried to install ubuntu on the 40 gb one because the 500 gb one is starting to die. When I use a live cd to install and partition the harddrive.
It shows I have 3:
/dev/sdb] and /dev/mapper/nvidia_fhidaeja are physically the same drive but appear as two, independent but equal drives.I kinda just ignore it and move on. I install ubuntu and try to boot and I receive an error saying that grub can't be found. I install and repeat two more times and get the same message. I'm thinking the the "extra" drive has something to do with it, but I'm not sure. I've tried reformatting it and resetting bios but nothing seems to work.
View 7 Replies
View Related
Feb 3, 2010
I've just installed Ubuntu 9.10 64 bit using Unetbootin, and I've managed to get into command line Ubuntu fine. I installed gnome (I think gnome, the command was "sudo apt-get install ubuntu-desktop"), typed "startx", and my monitor instantly went to a screen saying "NO SUPPORT". I rebooted, and this time a black screen with a white, low-resolution Ubuntu logo appeared for a few seconds, before "NO SUPPORT" appeared again. My graphics card is an ATI Radeon X1950XT AGP, and my "monitor" is a TV taking HDMI input through an adapter cable from a DVI out, if either of those pieces of info is useful. I'm now back in command line Ubuntu having booted into recovery mode, and I'm using a text-only browser for the first time.
View 5 Replies
View Related
Dec 15, 2010
I have run into an issue trying to install Ubuntu on my desktop. I am trying to install Ubuntu along side of Windows 7, but on a separate drive. When I chose the option to install on an entire drive, the installation worked. However, when I choose Ubuntu from GRUB, nothing displays. The same result happens for the recovery mode (Windows works fine).
View 9 Replies
View Related
Feb 15, 2010
I have a problem when opening documents in OpenOffice write, it doesn't display the characters for certain menu options - just a series of squares instead. It does this in other OpenOffice applications as well.
View 2 Replies
View Related
Jun 18, 2010
I get a lot of email from different yahoogroups, but am having a bit of trouble in one group.
Every so often I'll get a message that is written in rich text and sent from the group's web post feature, but only half of it is displayed. If I check the message source the entire message is there, and if I change Evolutions settings to plain instead of HTML then the entire message is there.
The weird thing is it only seems to be the messages from one particular poster that is being cut off.
It'd be nice if I could stick with HTML and Evolution.
View 5 Replies
View Related
Sep 15, 2010
My local server isn't displaying images or proper css for my web pages. The pages display just fine on the webserver, but locally no images show, most of the css declarations aren't there and some of the php includes won't show on the page either. It's as if it's 10% working. All the files are in the right place. I changed directory permissions and tried restarting apache but that didn't help.
View 6 Replies
View Related
Nov 16, 2010
I have a LAMP environment on Ubuntu 9.04 desktop. I created a directory in /home/user that I use for all my development work called /projects.
I am able to access this directory via localhost/projects as the URI in my web browser; I see a listing of all the separate directories and I am able to click on each directory and see its contents.
Parent Directory
Site-Structure/ 30-Aug-2010 11:39
builds/ 03-Sep-2010 00:02
d6/ 12-Nov-2010 13:25
d7/ 31-Oct-2010 17:44
[Code]....
I have default, default-ssl and projects in my /etc/apache2/sites-available directory. I haven't changed these files since I first created them. I haven't changed the permissions on any of the directories within /home/user/projects since I first set this up.
What can I do to access this directory from the address bar of a browser again?
View 4 Replies
View Related
Nov 26, 2010
I'm relatively new with Ubuntu- but I'm pretty experienced otherwise with computers. I just installed Ubuntu on my Intel machine and it seemed to be running a little slow so I checked the System Monitor and found that there were 2 CPU's being displayed (I only have 1) and that one or both were maxed out at 100%. What I have for hardware is one Intel Atom 1.6Ghz processor, with 2GB of ram. When I check what resources are running, none of them seem to be taking up that much memory (firefox being the most at 60mb).Any advice on what might be going on here? How is it displaying 2 CPU's when I only have one?
View 3 Replies
View Related
Jan 14, 2011
I don't exactly know how to describe the problem, that's why I included a screenshot of the desktop wallpaper. You can see a small copy of the desktop image on the left corner and the whole desktop with the same image. I changed the desktop and the same thing happened.
View 4 Replies
View Related
Feb 16, 2011
I have bunch Chinese/Japanese movies/music/txt files.Some of the name are properly displayed while others is just error code.Here's two example:http://img217.imageshack.us/i/mediaplayerj.png/http://img263.imageshack.us/i/exaile.png/also when i plug in my WD passport HD i can see the folder/file name but when i try to open the txt file it all error code
View 1 Replies
View Related
Jul 4, 2011
My desktop is not displaying files that I put on the desktop days ago. I checked all four workspaces.All the files are still accessible from Nautilus > Desktop.When I drag a file icon (from Nautilus to the empty desktop) and release, the icon does not drop on the desktop, the icon quickly moves back to the folder where it came from.The top and bottom panels of the desktop still operate normally.I am running Ubuntu 11.04 64-bit with classic-Ubuntu desktop.I also noticed that Startup Applications is missing "chrome" that I added this morning.I am the only user on this system. The system is a duel boot Ubuntu - win7. The Ubuntu partition is formated ext4 and there is a separate NTFS-formated partition named "storage" for folders that are accessible from both Ubuntu and win7. That should not be an issue because the desktop folder is on the Ubuntu partition, /home/[user]/Desktop. I have not booted win7 in the last few days.The desktop first
appeared empty after I did two things:
1) installed CryptKeeper from Ubuntu Software Center
2) Enable Automatic Login
After I clicked Applications > System > CryptKeeper, the desktop did not respond to mouse clicks. I did not find any CryptKeeper instructions. I don't know how to use CryptKeeper.The login screen still asked for credentials after I rebooted.So I uninstalled CryptKeeper, disable Automatic Login, and rebooted. But the desktop is still not displaying the files.Could CryptKeeper have changed something in my profile?Does Ubuntu have a log file to see exactly what I did?What else can I try to restore my desktop and enable Automatic Login?
View 8 Replies
View Related
Jul 26, 2011
One of the minor changes to Ubuntu seems to be that apt wants to display changelogs using less, which requires user interaction before apt proceeds to install the update. This is a kind of an annoyance when you're using a script to propagate updates to a whole slew of machines. Is there a way to turn this off -- or even better, change apt's use of less to cat. (I don't mind the changelogs being displayed b/c I log everything my scripts do. I just want to avoid the need for user input for automation purposes.)
View 1 Replies
View Related
Nov 14, 2009
Whilst I like Ubuntu as an operating system and generally am fine with Firefox, could anyone explain why I sometimes get errors in trying to get through to various web pages. I don't get the same errors in IE8. As an example, my telephone billing provider; I can login on both IE8 and Firefox and get into all the screens in IE8 but not always in Firefox as happened to me 30 mins ago (I think the version installed is 3.5 on Ubuntu 9.10). There is a message at the bottom of the screen showing that Firefox is trying to connect to a sub page, but it just can't display. Is there anything that I can do to resolve this and is it an encryption issue? This isn't the first time I've had issues with Firefox. In Ubuntu 9.04 the screen used to sometimes go fuzzy when I used the firefox version there.
View 2 Replies
View Related
Jan 9, 2010
I am in 8.04. Recently installed conky and wanted to have this conkyrc - [url] You may see how it should look.
Also I tried other conkyrc, but every time I got one annoying thing.
Conky is displaying some weird letters in front of every line of info.
Here is the screenshot of what's going on:
You can see big letters S P M at the beginning of every line. If I am adding more info to display, those letters continue to appear on every line.
Instead of these letters their should be icons as on screenshots in gnome look
View 3 Replies
View Related
Feb 26, 2010
Has anyone seen or heard of the following problem? I have a 1in black border surrounding my display. I've been running google searches all day without much luck. My current setup is as follows: Ubuntu 9.10 (64-bit), 24in asus lcd, Radeon 5770, amd phenom 2 x4, ddr3 4gb, gigabyte mb. I noticed the border while running the live cd. I figured it had something to do with the video drivers. Last night I installed ATI's linux driver 10.2. I'm getting my preferred resolution of 1920x1080 over dvi. But i'm not able to use my full 24in. It's like using a 20in lcd.
View 6 Replies
View Related
May 24, 2010
I have the greek XI character (the 3 bars) in a title in an html file as;<h1>ΞJSFΞ</h1> but when saved by gedit and pulled up in firefox it shows;ΞJSFΞ.Could you offer suggestions as to how to fix this please.I think this is a firefox or Ubuntu problem rather than gedit because when I go into vim it shows ΞJSFΞ.
View 1 Replies
View Related
Jun 23, 2010
I've been seeing things like this in Firefox since installing:
Franais
Espaol
where the is a special/accented character. I've also been seeing the in places that seem likely to have some kind of quote mark, probably curved quotes. I can see straight single and double quotes. To correct this, I've tried changing the display font and the character encoding. I've also looked at the Mozilla Add-On site to see if I could find a plug-in to fix it, to no avail.
What should I try now? Currently I'm using Liberation Sans with UTF-8. I'm a native English speaker so I need a western encoding (I think), but I'd still like other characters to display properly.
View 2 Replies
View Related
Jun 30, 2010
I am running Lucid x64 on an Gigabyte Mobo with an Intel E6500 CPU.I think this script pulls the temperature from /proc/acpi/thermal_zone. However, that directory is empty.I can get the cpu temp by using lm-sensors or by running this:
Code:
cat /sys/class/hwmon/hwmon0/device/temp1_input
Any ideas on how to get landscape-sysinfo to display the temperature
View 2 Replies
View Related
Oct 22, 2010
I have an issue where chromium is not displaying facebook properly. Here's a screenshot:
I would switch to the stable release but the stable release of chrome has a bug whereby the search bar keeps reseting its default search engine (wiping out all the info leaving the search bar un-usable) when google chrome stable is re-started.
View 2 Replies
View Related
Nov 7, 2010
I'm trying to display Wi-Fi network info using Conky. I've got it to display the IP address and the upload/download speeds, but for some reason it won't display the network SSID or wireless signal strength. Here's the relevant portion of my conky configuration:
Wi-Fi:
Network: ${wireless_essid eth1}
Signal Strength: ${wireless_link_qual_perc eth1}%
IP address: ${addr eth1}
Download Speed: ${downspeedf eth1} Kb/sec
Upload Speed: ${upspeedf eth1} Kb/sec
It's not the most frustrating problem in the world, but I've been unable to figure out the solution myself after several hours of perusing previous similar problems with Conky configs.
View 9 Replies
View Related