I have written a script to take backup of my database in remote server which is a windows machine.i have mounted that machine to my server using the script and daily script will run automatically, i have scheduled it using crontab like that and backup will be taken. but if my remote server is down means it gets unmounted and my backup falls on my local linux server itself. i want a script to check whether the remote server is mounted or not if mounted take the backup or else stop the backup.
I am trying to connect an NFS shared to my multimedia Box. I have no problem connecting it manually but when I tried to connect automatically upon booting up the multimedia I have to wait for the wireless to be connected before attempting to mount the NFS file system on the media box.Now I am sure that this can be easily implemented using a script however I do not have much experience with that. I am not sure about the syntax for the loop statement. I know what is required for the mount and other stuff. Is the use of the ping a good idea. It takes about 2 second for the ping to return when fails so after 40 to 60 sec it should stop.
I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?
I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:
Code: $mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp password: (I have no password so I left it blank) Mount error (13): Permission Denied I tried all sorts of passwords we use around the office and none of them worked.
I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?
I'm running Lucid with the 2.6.32-28-generic and 2.6.31-11-rt(abogani's ppa) kernels, on a fairly new laptop.When I boot the rt-kernel, right after grub I get a message:Code:mount: mounting none on /dev failed: no such deviceW: devtmpfs not available, falling back to tmpfs for /devThen after a few seconds, I see a lot of fast moving text and then Ubuntu starts just fine.when booting the generic kernel, I don't see any text at all, but it uses just as long time as the rt-kernel, so I guess the problem affects both.
So I am using a debian 5.0.4 version of Linux with a command-line interface (the bash shell).I have been trying to get my usb device to be readable, which I suppose means I need to run a mount command like mount -t usbfs /dev/usb /media/usb But I have not had any luck getting to access my usb drive...I run lsusb and find that it is attached, I can find it in the /proc directory, but I cannot access my usb drive
I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?
P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?
Having some troubles mounting my DVD-RW after a reinstall of ubuntu. Now using 10.10. Code: root@Johnsky:/# wodim --devices wodim: Overview of accessible drives (1 found) : ------------------------------------------------------------------------- 0 dev='/dev/scd0'rwrw-- : 'HL-DT-ST' 'DVDRAM GH20NS10' ------------------------------------------------------------------------- So there's my scd0 sitting pretty. Trying to mount it.
Code: root@Johnsky:/# mount -a /dev/scd0 /media/cdrom0 mount: /dev/sr0: unknown device root@Johnsky:/# sr0?
Code: root@Johnsky:/# ls -l /dev/ total 0 .....
Lets try mounting sr0 directly instead. Code: root@Johnsky:/# mount -a /dev/sr0 /media/cdrom0 mount: /dev/sr0: unknown device sr0 is still an unknown device.
I'm thinking when I reinstalled Ubuntu, it made some screwy links between devices. But I have no idea how to resolve this... and there's no point in my mind to adding the DVD-RW to /etc/fstab until I can actually mount it manually to know it mounts successfully. Back when I installed Ubuntu 9.x on this machine, I never had any of these issues. It picked up the DVD-RW automatically, appended it to fstab during installation, and done. But 10.10 seems to be having some troubles my 9.x installation didn't.
I recently had one of my computers motherboard die and so I moved the hard drive to another linux machine so I could access the data. The hard drive is installed correctly and I've mounted several logical volumes on the drive ok, but I'm having trouble with the two volumes which were encrypted. The LVM Gui in Fedora is ignorant to any encrypted LVMs so I looked around to see if others have solved this problem and found the following command: # cryptsetup luksOpen /dev/vg_delldesk/lv_home luks-fedora
My Logical volume container is vg_delldesk and the encrypted volume is lv_home - when I execute this command I get the following error: Device /dev/vg_delldesk/lv_home is not a valid LUKS device. I have access to the root partition from the old box so the config files are there to reference the old setup if needed. My current box is Fedora 14 x_64, I have dm_crypt mod installed in the kernel as well.
actually we are using samba and that it was mounted in usb device which is read/write mode for sharing a file to all the system,it was properly working in half an hour,then after that it was automatically changed in read mode .if this problem occurs we are going to reboot the system then the problem will be resolved.
I am currently using opensuse 11.2 with kde 4.3.1. I am having a problem when I connect my samsung R450. It will not mount or show up as a usable device in either Dolphin, Amarok, or on the device notifier. I have tried manually mounting but I get an error saying it cannot find such device. I did not have any issues using it in 11.1 with KDE 4.2. It is being recognized by my system, but not allowing it to show up as a storage device or being mounted.
output of dmesg:
PHP Code:
output of lsusb:
PHP Code:
When I shut of the usb mass storage on the samsung R450 it switches to modem and is properly detected and usable as modem by my system.I don't have any other problems with other usb devices, such as a digital camera or flash drives, so I don't know if I just missing a system setting or configuring something wrong.
I'm trying to use the most-base install of opensuse 11.4 and so i'm using the text-only interface. I looked up some guides on using the 'mount' command but I'm encountering problems. I tried doing.
mkdir /tmp/flash su mount /dev/sdb /tmp/flash
but first off, I don't even know if sdb is my flash device, there's ~60 things in my /dev/ directory, and ~10 things that look like 'sdb' but I try anyway, and I generally get an error telling me that either /dev/sdb is busy, or /tmp/flash is busy but I wanted to check here and clarify first, how do I even know which /dev/ item is my flash drive? When I plug in my flash drive, no less than 3 new entries appear in /dev/ so, I'm a little confused. What do I do?
I'm trying to install ubuntu 9.10, downloaded the iso from the site and burned it on a CD, but when I boot from my cdroom drive and choose install ubuntu option I get an ubuntu grey logo for a couple seconds and the I get this error:
I tried downloading a new copy and burning a new CD but still have the same error, no matter what option I choose when booting the CD.
Does anyone now whats the problem? What I'd like to do is install linux as the only OS (formating everything else) not dual boot or anything, I'm new to linux so it'd help if you guys could give me details on how to fix it
I have installed previous versions of ubuntu on this same computer but using the wizard inside windows.
I recently noticed a bug with ndiswrapper in Ubuntu 10.4 which would prevent the mounting of new USB device classes. This bug has been noticed somewhere else, in particular in at least one older Ubuntu version, but has been carried over. This doesn't seem to be widely discussed, or the solution worked anecdotally, but the problem is actually more general in nature. At the moment I found a workaround that always works, but I don't have a permanent fix.
The problem kicks in only after ndiswrapper module is loaded into the kernel. Devices of the same USB *types* that were recognized *before* ndiswrapper is loaded will continue to work. For example, an USB memory stick will be mounted fine if an USB hard disk had already been used at some point before ndiswrapper was loaded. However, if one plugs in any other new type of device, for example, an USB mouse, after ndiswrapper is loaded, the new USB device will not be mounted. The workaround solution is to disable ndiswrapper before introducing a new type of USB device by doing:sudo modprobe -r ndiswrapper
Then, plug in the USB device. After it is successfully mounted, do: sudo modprobe ndiswrapper
The corollary is that if ndiswrapper is loaded into the kernel upon boot-up, only USB devices which were present at the boot stage will be recognized. But performing the above kludge will allow new devices to be recognized.It'd be nice if someone can come up with a more elegant fix.
let's say this system has 3 hard drives. Drive #1 and #2 are RAID 0 and Windows7 lives there. It is a hardware RAID, not software.
On Drive #3 Ubuntu has been installed using WUBI - it boots up and works okay - but it does not see the RAID array.
Do I just need a linux driver to be able to see & mount my "Windows" RAID0 array? Or is this even possible? Can anyone point me in the right direction?
I wonder if there is a command that can tell me which process is accessing a folder, say, /mnt? Sometimes I forgot which process is accessing /mnt and therefore cannot umount /mnt.
I posted a similar problem sometime last week...but a little has changed(mainly I can access my files now): I recently performed the auto upgrade to Ubuntu 10.04 and upon restart of my machine I am presented with 3 screens. The first is a simple "GRUB loading". The second is "mount: mounting none on /dev failed: no such device". The third screen is a series of initializations, i.e. /dev/sda1:
clean, (number of files), (number of blocks) *setting preliminary keymap... and so on until it hits the line: *checking battery status
at which point it will cease loading until i press the power button. The next thing that occurs is it kills all the processes it just initialized and shuts down the computer. I read that this is likely a problem from loading the wrong kernel and I can get into my files (using a boot 9.10 boot key). The problem is I don't know what files to change in order to get my system booting the right kernel.
I was looking at the root filesystem folder for mounting a device when I noticed extra folders. I'm using an encrypted filesystem so I'm not sure if it's that, a break in or the default Red Hat layout. I searched these forums and Google to no avail on extra folders. The root system contains the following:
bin {fda00e13-8c62-4f63-9d19-d168115b11ca} media opt selinux usr boot home misc proc srv var dev lib mnt root sys etc lost+found net sbin tmp
I am trying to write a script to turn my HTPC off automatically and turn it back on again at a specified interval.
I've got the turn on off bit sorted using /sys/class/rtc/rtc0/wakealarm but I want the script to not turn the machine off if say something is downloading, I am currently watching something etc and i dont think I will have any trouble with that.
But what I would really like to be able to do is tell if my TV is currently on. I dont think anything x11 related would work here and this may not even be possible. Does Ubuntu "know" if it's display device is powered on or not? if so can I interrogate this somehow?
Writing a bash script and I need to check if a known HD partition is mounted or not. I do not think /etc/mtab is the place to check. Would /proc/mounts always work? To make it simple like this : cat /proc/mounts | grep /dev/sdb2
I have a 1TB external HDD which I use to store my music library of roughly 40 gigs. Therefore I would normally import music directly from it to my Rhythmbox library while keeping everything stored on the removable drive. In recent versions of Rhythmbox this is no longer needed as the application integrates my external HDD into the side pane and lists the music automatically. This is great although when closing Rhythmbox and reopening it, the drive has to be scanned all over again. This is a huge pain when it has to scan through 40+ gigs of music.
Therefore I would like this feature disabled and removed from my side pane. It is not needed and causes quite a large annoyance. Either I want it removed or the ability to keep the index of music from the drive in Rhyrhmbox at all times. Achieving this would be fantastic and would switch me back to Rhythmbox. recently I have been using Exaile which I love but rhythmbox not working bugs me.
Recently I installed a Linux distro (Pardus) which boots using initramfs. I am completely novice here. In the former configuration I used lilo to boot OpenBSD, Debian and W2k (it is easy for me to configure lilo to boot OpenBSD). But initramfs is a something completely new for me. As I understand it is a virtual file system with a standard directory tree and the information stored on that system is used (to boot the kernel?) to mount the true (physical) root device. The first question is how to properly describe a system (kernel image) booted with initramfs in the lilo.conf.
my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10, but after we order the boot we got a loading screen for ubuntu then this error appeared
Quote: busybox v1.15.3 ( ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) enter 'help' for a list of built-in commands. (initramfs) stdin :I/O error mount: mounting /dev/loop0 on //filesystem.squashfs faild: no such device can not mount /dev/loop0 (/cdrom/casper filesystem.squashfs) on //filesystem.squashfs udevd[75]: worker [171] unexpectedly returned with status 0x0100 udevd[75]: worker [171] failed while handling ' /devices/virtual/block/loop0'
i change the cd to another one but an error was changed to :.............
i need to install vpnc in amazon ec2 fedor 8 instance. i have installed with yum install vpnc commaned. And i have placed config file in /etc/vpnc/some.conf. but it is not connecting and giving the following error. vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device.