General :: Mounting Hda5 And Sda7 Is Not Working At Same Time?
Sep 27, 2010
mounting file system in centos,(NTFS) I am able to mount hda5 which is NTFS in centos by editing /etc/fstab, but not able to mount sda7( also NTFS)at that same time,however after editing /etc/fstab i can mount one HDD at any time, making both entries in /etc/fstab is not working. BOTH HDDs are NTFS , one is SATA and other is IDE.
I am running a Postgres server and after I did the whole installation I realized the Postgres data was set in /usr/pgsql/data. Sda1 is just 10 Gig so I decided to re-organize the partitions to be able to move /usr to say /dev/sda7 with a mount point as /usr. The / partition is on the only primary partition and the rest is on an extended partition. When I tried to resize the primary partition GParted did not give me that possibilty so I decided to move /usr
Original partitions: sda1 / 10 G on primary partition this includes /usr /var and all others sda5 swap 2 G on extended partition sda6 /home 140 G on extended partition So I did create another partition using Knoppix and Gparted the disk:here is the new picture: sda1 / 10 G on primary partition this includes /usr /var and all others code....
I did rsync to copy all the file to /dev/sda7/usr and then mv /dev/sda7/usr* /dev/sda7. I stop the postgres database and services then I mv /dev/sda1/usr to dev/sda1/poufusr . When I rebooted it reports errors from kbd files on /etc File not found. It brings me to a terminal (No GUI) I did a check with :#mount: nothing is reported about sda7
I've carelessly installed grub on hda5 instead of hda, using: # grub-install /dev/hda5 And now my hda5 cannot be mounted with ntfs-3g. Here the error message 'mount' gives: Failed to mount '/dev/hda5': Invalid argument The device '/dev/hda5' doesn't seem to have a valid NTFS.
As far as I know, grub-install rewrites the 1st sector of the device, and I've been reading this guide on recover the 1st sector of an NTFS partition. The problem is that the Disk Probe tool is available in Windows only. Is there any similar software in Debian to do the same thing (i.e allows us to edit sectors of the hard drives available in the computer)? Any easier tool / method to restore the NTFS partition without read and write sectors manually.
i am using ubuntu 8.04 and i am facing a problem of mounting external pen drive, exernal harddisk or even other /dev/ partitions in my login mount is not working so i manually mount the partition by mount command .. but i dont know how i can resolve this problem ...
fdisk -l currently returns as Disk /dev/sda: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders
I tried to install Debian 3 at my pc, and while it worked, it only installed the basic system. When it goes trying to install the "everyday-use" packages it cames with this message:Some error ocurred while unpacking. I am going tp configure the packages that were installed. This may result in duplicate errors or erros caused by missing dependencies. This is ok, only the erros above this message are important. Please fix them and Install again
I figured I'd set up a test partition to test the waters before jumping head on to a full upgrade. I've created a new ext4 partition on my disk and marked it to be used as root for the install. Halfway through the installation an error message pops up saying it cannot unmount sda7 because it's in use, sda7 has nothing to do with the Natty install, it's the root partition of my main setup! I then aborted, rebooted and everything was fine with my main system, obviously the Natty install didn't take.
I've got a mostly Debian Lenny network but I've set one machine up with Squeeze. One the Squeeze machine I can mount my NFS shares manually but can't get them to mount at boot time. Here's my /etc/fstab file:
Code: # /etc/fstab: static file system information. # # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass>
My DVD drive start working bad recently in KDE 4.4.3 - openSUSE Forums , but this is another very annoying thing happening in my openSUSE box. I have several flash drives, from several sizes and all have the same problem: When I plug them, the drive simply takes a LOT of time mounting and showing the data, but really, a LOT, and meanwhile the flash light blinks the desktop environment its FREEZE, until it shows the mounted drive. Some output from a recently plug that takes again a lot of time:
Code:
[ 4685.082027] usb 1-6: new high speed USB device using ehci_hcd and address 5 [ 4685.579461] usb 1-6: New USB device found, idVendor=0325, idProduct=ac02 [ 4685.579480] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
i have 2 partitions on dmraid. I am not able to configure them to mount with yast; yast partitioner gives an error stating that it can't mount a file system of unknown type. I am able to start the dmraid devices manually and mount them manually.
See bug:
https://bugzilla.novell.com/show_bug.cgi?id=619796 for more detailed info.
I have logical partitions on my drive numbered /dev/sda5 through /dev/sda14.I want to reclaim unused space from one of the partitions in the middle /dev/sda7. First I intend to resize /dev/sda7 by leaving the beginning of the partition as is and shrinking the end to create some unallocated space between /dev/sda7 and /dev/sda8. Then I would like to create a new logical partition in this unallocated space. My question is what will be the device name of the newly created logical partition? Will it be /dev/sda15 (I hope)? Or will it be /dev/sda8 and all partitions after this be renamed?
The GParted manual states that if a partition is deleted, all of the following partitions will be renamed, but it doesn't say anything specifically about renaming partitions after adding a new partition in the middle of a partition table.
I'm using Opensuse 11.4 updated from 11.3, update from 11.2 updated from. I'm mounting at boot time (in fstab) some shares from an opensuse 11.2 server. Mounting worked fine in 11.2, 11.3 and also in 11.4 but suddenly (maybe an automatic update?) It stopped working.... sometimes.
Sometimes they are mounted properly but sometimes they aren't. When mount fails I get a log error: "rpc.statd is not runninf but is required for remote locking. Either use '-o nolock' to keep locks local or start statd"
If I run manually (as root) mount -a the shares mount properly always, so I thought it was a problem of timing (the service starting late) so I tried to get a script to run after the network initialitation, the script does: "mount -a". But it doesn't work either.
I'm trying to follow various ways to setup a Time Machine drive on my Ubuntu 'natty' server. I am at the stage now though where I can't seem to find the external USB HDD anywhere. I have it partitioned into two and cannot find anything to do with it. When I check ot doesn't show up in the memory either. Is there a way to mount it or find it?
I was doing some testing which is required for some of my products
Here is the strange behaviour i observed
First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)
zdump -v /etc/localtime |grep 2010 /etc/localtime Sun Mar 14 09:59:59 2010 UTC = Sun Mar 14 01:59:59 2010 PST isdst=0 gmtoff=-28800 /etc/localtime Sun Mar 14 10:00:00 2010 UTC = Sun Mar 14 03:00:00 2010 PDT isdst=1 gmtoff=-25200
[Code]....
Note:in the above case when i did set time to 2:59:55 and said ok by then CEST became CET already. That could be the reason why DST is not happening.
I tried with few other positive and negative timezone configuration all the negative time zones resets back properly where as all the positive timezones doesn't
All my timezone files are up to date,i am using fedora 9
Okay so I am a total newb to linux. I installed Ubuntu using Wubi and am trying to figure out how to get my wireless connection working. It occurred to me I may not have the right driver for use with Ubuntu for the wireless connection at my house. I couldn't find anything on the web to help..it appears I have a realtek RTL8102E wireless card in my laptop. I have absolutely no idea how to resolve this situation..I've looked on the web, but everythings pretty confusing. If I could get the wireless working it would be a good first step.
My flash player hasn't been working for some time and I downloaded Flash Player 10 tar.gz from the Adobe website.I followed the instructions on various websites as the ones on the adobe website were too complicated for me, and after eventually figuring out how to open a terminal window, the commands wouldn't work.
I've been looking for a way to mount my time capsule drives under Ubuntu, and found some guides, but none of them work for me. Apparently what you need to do is:
My time capsule's ip is 192.168.1.10, it's name is "Time Capsule", the drive I'm trying to mount is called Movie HD
If I input the following command:
sudo mount.cifs //192.168.1.10/Time Capsule/Movie HD /media/timecapsule/ -o pass=mypassword
I get a connection refused error.I tried a couple different variations such as "/"Time Capsule"/Movie HD",etc,every combination, but I get a connection refused error (111) every time.(I have two drives on my time capsule, the internal, Movie HD, and an external usb one, Media HD, I want to actually mount them both)On my time capsule I did set it guest access to read only... Also, when I go to my places> network I do see the time capsule in the list, but I get an error message that it can't access the shares when I try to open it.
I'm trying to find a way to auto-mount a couple of NTFS volumes at login (or even earlier if possible), not by editingfstab or running the (currently buggy for Maverick) ntfs-config tool, but by simulating the way that Nautilus mounts volumes when you click or double click on one. The reasons for this are not important(just to make things a little mysterious).So, I checked the output of syslog when I click on an unmounted volume in Nautilus. It seems very useful, but I can't make much out of it. So I need your help I need to make something like a script to do this thing at startup.
Code: Feb 16 20:52:28 UBUNTU-BCM-P5Q-DELUXE ntfs-3g[3701]: Version 2010.8.8 external FUSE 28 Feb 16 20:52:28 UBUNTU-BCM-P5Q-DELUXE ntfs-3g[3701]: Mounted /dev/sdb1 (Read-Write, label
I know several tools that allow tracking time spend on different tasks / projects.Is there any existing tool for very very simplified work-time-tracking.I am an employee, come to the office, switch on my laptop directly. I have mostly around 1 hr lunchtime, but sometimes less, sometimes more.At around 18:00 I want to type one command in the console (or simple GUI would also be okay of course) that tells me:"1 hour overworked. Go home now! (came at 8:00, 1 hour standard lunch-break)."
I am currently dual booting between Linux Mint 10, and Windows Vista SP2. Wireless works fine in both these OSes, but when I quit Mint and load Windows, 70% of the time my wireless stops working.
ie, it does not detect any wireless networks nearby, althought there are tons of them.
Restarting the wireless device doesnt help, I have to restart my computer at least 4 times for wireless to start working again.
And as of now, my wireless in Linux Mint has stopped working.
I've been having terrible trouble with my 64bit Desktop v10.04 ever since I upgraded it. Has been a long battle - but I think I have it down to just one remaining issue which I suspect is more related to the network than to the upgrade. So I'll ask here also... The old system always used grub as the bootloader, and has always worked just fine. I have now had to do a complete fresh install, which incorporated a change to grub2 (first time I have used it).
It would seem now, that grub2 is unable to deal with mounting the samba shares on my lan at boot time. The boot always fails, dumping the user to the cli rather than the gui desktop. The error given indicates that the network is unreachable. Most users of the system have given up on Ubuntu altogether because of this, and fallen back into the clutches of the evil empire (the machine dual boots XP). If I log in, and manually startx to open the desktop, the network is there, and the shares are mounted just fine. Everything seems to be working ok - but for crashing out of the boot process with network errors. The fstab file follows, in case there is some cause there I'm not seeing (I have edited names and passwords prior to posting)...
In my college many proxy : port (like 144.16.192.245:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically?
When I installed slackare 13 it detected usb drives and cameras automaticallyow it doesn't. I am runnning a 13.0 system, not current, so I have only applied the updates in that branch (iirc including a new kernel).nowadays when i plug a device in it does not seem to be detected by HAL (i.e not in KDE).However the device is listed if you use the command "lsusb" and the computer obviously knows it has been plugged in as there is a relevant entry in dmesg.Sorry for the generallised nature of the post, but I don't really know anything about HAL or how it can have stopped working
I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.
Is there a way to force it to sync with my domain controler or even another online NTP server?
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
My computer has different time when booting to linux or Windows.How to make the time the same?My computer time is 10:57pm Apr 14 when booting to linux.My computer time is 2:57am Apr 14 when booting to Windows Vista Home Premimum SP2.Both OS are set to the same time zone (GMT-5. Eastern Time US & Canada).
get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct
I admit this has been a particularly bad year for me, but it isn't THAT unusual by my standards. I typically spend I would reckon quite honestly about 70-80% of my time with computers just fixing stuff up that either I broke or was broke in the first place. Usually it's the latter by some considerable margin. That's really inefficient, isn't it? I just wondered what others' experiences are of this phenomenon. Obviously I don't do computers for a living or I would have starved years ago. So what is the Panel's consensus view on the percentage of wasted time we should expect to spend, on average, "running just to stand still" on maintenance tasks?