Server :: LVM Not Update Dev Directory After USB Drive Plugged In

Jun 20, 2010

I have an usb drive attached to my server. I use the driver with LVM. When the drive is switched on at server start up my dev directory is updated accordingly (I got the entry /dev/VolGroup01/.... ; but when I switch on the server and later on attach the usb drive and switch it on I can't use it through LVM because the drive never appears under /dev/mapper/ or /dev/ even tough dmesg says that a drive was found and attached to sdb. My lvm configuration looks like below. How to let mapper know that I just attached a usb drive that was previously configured with lvm?

--- Volume group ---
VG Name VolGroup01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 24
VG Access read/write
VG Status resizable .....

--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 45
VG Access read/write
VG Status resizable .....

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: Cannot Boot Without External Drive Plugged In

Jan 16, 2011

I have installed ubuntu 10.10 on and external usb drive and now my computer which runs XP will not boot unless the external drive is connected and on. Can I by pass this situation or do I have to uninstall ubuntu altogether and start over?

View 3 Replies View Related

Hardware :: No TtyUSB Appearing When Flash Drive Plugged In

Apr 11, 2010

I am having some problems with the USB ports. Some people said when you hot plug a device into USB port, under /dev will appear a ttyUSB*. But for my laptop, no matter what device I plug into the USB port (say a flash drive). There are only bunch of usbdev1.1_ep00, usbdev1.2_ep00, usbdev1.3_ep00 and usbmon* files, but not any ttyUSB*? I want to know is what is the difference between ttyUSB and usbdev1.1_ep00 files?

View 1 Replies View Related

General :: Windows 7 X64 Doesn't Boot If A Drive Is Plugged?

Jun 2, 2011

I have connected (sata cable I mean) the drive where I have got my Ubuntu installation to another pc with windows 7 64 bits (but I think that 32 and 64 doesn't make difference). Windows 7 doesn't boot. So I thought it may be some kind of issue with the hard drive itself (but the drive is healthy), anyway I have plugged one drive from one NAS (you know, NAS drives are linux partitioned and formatted).Same result: windows 7 doesn't boot.

Windows 7 boot sequence hangs and at the next boot prompts
"Repair windows installation"
"Boot windows normally"
(and obviously none of the options works)

Looks really like that Windows 7 doesn't boot if any linux partitioned and formatted drive is present.

View 12 Replies View Related

Fedora :: Disable Auto Open Nautilus When USB Drive Plugged?

Aug 4, 2011

In Fedora 15, when I plug a USB drive, Nautilus will automatically open and show whats inside of it. I'm working in a project where I have to plug and unplug USB drives many times, and Nautilus opening every time is really annoying. I tried to use gconf-edit and set the keys apps>nautilus>preferences>media_automount and media_automount_open to false, but it didn't work.

View 10 Replies View Related

Fedora :: Auto Run A Script When A Usb Hard Drive Is Plugged In Without Configuring Machine?

Mar 24, 2011

Is there a way to auto run a script when a usb hard drive is plugged in without creating a udev rule or something similar. The idea is that no matter which computer I plug the drive into it runs the script automatically (I want to EXPORT some directories when the drive is plugged in)?

View 3 Replies View Related

Ubuntu Installation :: Cannot Start Computer Without External Hard Drive Plugged In

Jan 12, 2010

I finally got my new internal hdd for my laptop. I plugged it in and installed windows 7 64 bit. Then I partitioned my external hdd (WD mybook 640gb), and installed ubuntu 9.1 on a 200gb partition of it. The problem is that I didn't unplug the internal hdd before I installed ubuntu. Now the computer will not start unless I have the external hard drive plugged in.

So what should I do so that I will be able to go into windows 7 normally if the external hdd is unplugged? I would also like to be able to use ubuntu when I plug in the external hdd. I wouldn't mind having to go to the boot menu and choosing the external hard drive every time I wanted to use ubuntu.

The reason I partitioned the external hard drive was because it has a lot more space than my 250gb internal hdd, and I also wanted to leave space open to use as was intended, to back up stuff.

However, now that I think about it, I wouldn't mind partitioning the internal hdd and just leaving the external blank (which I should have done in the first place).

View 5 Replies View Related

Ubuntu :: External Hard Drive - GParted Wont Load Up When Plugged In And Disk Utility Doesn't Show It

Feb 7, 2011

I had this corrupted external hdd and so I formatted the main partition on it on windows but messed up in the formatting and ended up having to format the entire thing. I got some weird message about it not being initialized (no not mounted) so I was in compmgmt.msc in windows and right clicked it in device manager and it asked for master boot or GUID I selected the latter and formatted. Worked fine and all for a bit but now it doesn't show up as a drive. I noticed when using compmgmt.msc it showed up that it had installed driver software and was being recognized but in the partition editing area there was nothing on this drive, reinstalling driver software doesn't seem to help. Also GParted wont load up when I have it plugged in and Disk Utility doesn't show it. I am requesting help to fix this problem within Ubuntu 10.10 somehow so I can use it properly.

View 9 Replies View Related

Ubuntu :: Server Boot - Doesn't Start-up Unless A Monitor Was Plugged In

Jul 19, 2011

I have an old computer (Pentium 4) without a monitor. To make the most of it I installed Ubuntu server on it and have been using it for almost a year. A couple of months ago I don't really recall what I did but since then it doesn't start-up unless a monitor was plugged in.

I've tried pinging it but it doesn't respond when no monitor is plugged in. meaning it's not even booting correctly.

I'd like to know what the problem is and how to fix it. And I'd really appreciate any help in diagnosing the problem. I just don't know where to start.

View 3 Replies View Related

General :: Usb Drive, Locate It, Move Folder From Usb Drive To Usr Directory?

Feb 28, 2010

I want to move a folder from USB drive to desktop, any directory, let say usr directory. But don't know what the name for usb drive and where to find it, i know i am going to use mv command.

View 5 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

Server :: Changing The Password Of Directory Manager In Redhat Directory Services

Jul 14, 2010

How to change the password of Directory Manager in RED HAT Directory Services through a ldapclient through command line or graphical.

View 1 Replies View Related

Software :: Setup A Script Which Updates Some Software On The Hard Drive From A Directory On A USB Flash Drive

Apr 16, 2010

Ubuntu Breezy 5.10 (don't suggest an upgrade - it works!) I'm trying to setup a script which updates some software on the hard drive from a directory on a USB Flash drive.After I've plugged in the USB drive and seen it recognised by automount:

Code:

ls -l /vol/USBDISKB

OK - shows me the directory and files.

Code:

#!/bin/bash
if [ -d /vol/USBDISKB ]; then
echo "Found USB drive"
else

[code].....

View 14 Replies View Related

Server :: Difference After Copying Large Directory To A New Directory?

Apr 4, 2010

I m having a RHEL-5 sever.ABC directory size is 57GB after taking backup in the same disk with name ABC.bkp showing 56GB. i used below command to copy/backup. # cp -r ABC ABC.bkp (different sizes after copying)..I checked both the directory sizes by #du -sh <ABC> and du -ks <ABC.bkp>In both GB and KB there is lots of difference (200mb). why this will happen in copying? what is the solution for above question? what is the correct way of copying 1dir to newdir exactly?

View 4 Replies View Related

Server :: Can't Write Files To A Sub-directory Of The Chroot Directory

Jul 20, 2011

I'm using OpenSSH 5.5p1 on Fedora 15. I'm trying to get a chrootDirectory to work. Specifically trying to figure out why I can't write files to a sub-directory of the chroot directory. I created a user test_user and created a group called sftp. I added test_user to the sftp group. I edited /etc/ssh/sshd_config as follows:

Code:

Subsystem sftp internal-sftp
Match group sftp
ChrootDirectory /home/sftp_users/%u
X11Forwarding no

[code]....

View 1 Replies View Related

Ubuntu :: Server Directory Can't Delete Directory / Fix This?

Jul 9, 2011

Ubuntu server recently had issues with a disk. fsck seemed to correct everything, but I have one directory that I can't delete, chown, chgrp, chmod, etc.

Here's the listing for the directory
dr-x-wxrwt 2 16709 25134 8192 2020-08-23 22:34 UDLEDATB.DBF

Note the sticky bit is set and the uid is a number that does not appear in /etc/passwd.

Even as root, any attempt to delete, chmod, chown, etc. gives "Operation not permitted".

Since sticky bit on a directory restricts delete to the owner and the owner is invalid, I am stuck. I need to delete this directory.

How can I fix this?

View 4 Replies View Related

Ubuntu :: Grub Update Error "update-grub Head: Cannot Open `/boot/grub/video.lst' For Reading: No Such File Or Directory"

Apr 7, 2010

after doing an upgrade to 10.4 and updating grub I get this message. how do I address this

[Code]...

View 2 Replies View Related

Server :: UShare - Directory Recursion And Symbolic Links / "drill Down" Directory Structure To List Files?

Jan 22, 2010

I have uShare 1.1a setup to talk to my XBox 360. If I share a directory that has no subdirectories, the video files display on the XBox. However, most of my files are in sub-directories on a different partition - I don't really want to copy them to the share, but uShare doesn't seem to recognise any sub-directories or files contained therein.

I have tried setting up symbolic soft links directly to the video files (although this is a pain, it is better than moving the files)...

Code:
ln -s /home/jonftp/TV-Shows/Buffy/Season-1/Buffy-101.avi /home/share/Buffy-101.avi
...but these don't show up on the XBox either.

How can I get uShare to "drill down" the directory structure to list the files or how can I get uShare to follow symbolic links?

View 2 Replies View Related

General :: Using A Tar Archive To Update Directory?

Feb 6, 2009

I have a directory that contains some files. Let's call it ./ActiveContent.

I have a tar ball that contains some updated files, let's call it updates.tar.gz.

How do I unpack updates.tar.gz in the directory ./ActiveContent so that files in updates.tar.gz overwrite the identical named files in the directory?

That is to say, an option that directs the utility to over write existing files wile expanding a tar archive into a directory?

View 3 Replies View Related

Ubuntu :: Local Directory Update: Texlive

Mar 9, 2010

I've recently had to update my own package blah.cls in the texlive distro on Ubuntu. I duly put it in /usr/local/share/texmf and ran texhash and mktexlsr (the latter just in case). The database has updated: checked with kpsewhich.

Now the problem: I'm able to compile my Latex file using that package blah.cls only when I run latex (or Kile, or gedit) in sudo mode. When I run it with no sudo, the error is "can't find the package blah.cls" Obviously other files compile nicely, sudo or no sudo.

View 1 Replies View Related

Ubuntu :: Browse To A Directory (or) Use USB Drive?

Jan 21, 2010

I installed Ubuntu 9.10 as Guest OS with Windows XP as Host using Virtual Box. I have also installed the VirtualBox Guest Additions. Now I want to connect to the internet using my modem.

[URL]

From the above link, I downloaded the scanModem file from the Host XP. I don't know how to copy that file to the Guest Ubuntu OS.

[URL]

I couldn't find the /mnt/msdos directory - only /mnt (no files inside that directory). Also, don't know how to paste from the USB drive.

View 1 Replies View Related

Ubuntu :: Emulate A Directory As CD Rom Drive

Jun 8, 2010

i want to emulate a directory as a cd rom drive.

View 6 Replies View Related

General :: Directory Listing On A Usb Drive?

Jan 24, 2011

I have a usb drive which I will call it "mydrive" for this discussion. I am trying to get to it so I can do a ls -al on the usb device itself.

But I'm not sure how to get to the dir entry for the device.

View 4 Replies View Related

Ubuntu :: Can't Update - Unable To Lock The List Directory

Jan 23, 2011

red minus sign next to internet and following states..... E: Type 'cat' is not known on line 45 in source list /etc/apt/sources.list E: Unable to lock the list directory

View 4 Replies View Related

General :: /bin Directory Is Deleted After Killed Yum Update Command

Jan 7, 2010

I have a serious problem on my VPS. I ran "yum update" and then hit the Ctrl+C to cancel when I realized that I need to specify a package to update, not all of them, but when the console returned suddenly I lost the connection, when I try to reconnect to the machine, it says /bin/bash not found !! even when I try to issue commands from the VPS control panel, it reports that the commands are not there

I can issue a ticket for the ISP to resolve this, but I need to know the risks before I do this, I have no backup on MySQL and 2 live web applications, although they are still running, I am afraid if I restarted the VPS everything will be gone.

View 7 Replies View Related

Ubuntu :: Encrypt Directory On Flash Drive

Jan 17, 2010

I want to have a "Private" folder on my flash drive. How would I encrypt it so that it asks for a password when you try to open it?

View 1 Replies View Related

Ubuntu :: USB Shared Drive - Corrupted Directory

Mar 12, 2010

This is a USB shared drive, with an ext3 partition. The partition is located at /dev/sdb1. I use Samba to share /media/tiga1000/samba/public, and everyone on the network can add/delete files to it. Specifically, this is our media drive, and we upload a lot of pictures to it, since me and my sister are amateur photographers. Under /public/images/camera_pictures/2010, I have 3 directories. 01_january, 02_february, and 03_march. The directory that has been corrupted is 03_march, and when I say corrupted, I mean that I cannot open it. It acts as a unknown file type that can't be opened.

Here is the file properties of it:
Code:
drsmall@mycroft:/media/tiga1000/samba/public/images/camera_pictures/2010$ ls -lah
total 960K
drwxr-xr-x 4 nobody nogroup 4.0K 2010-03-11 21:22 .
drwxr-xr-x 5 nobody nogroup 4.0K 2010-02-18 20:19 ..
drwxr-xr-x 14 nobody nogroup 4.0K 2010-01-31 11:57 01_january
drwxr-xr-x 10 nobody nogroup 4.0K 2010-02-23 15:47 02_february
-r--r--r-- 1 nobody nogroup 938K 2010-03-11 15:46 03_march

How I should go about recovering it. Somehow it lost it's directory switch. Should I unmount the drive and run fsck on it? I would like to be able to recover these images, if it is at least possible!

View 7 Replies View Related

Ubuntu :: Hidden Directory On Ext3 Drive?

Aug 24, 2010

I have recently reformatted my external hard disk to ext3, and now whenever I delete something via my file manager, a hidden directory (".Trash-1000") is made. I would like to keep this drive clean, is there any way to stop the directory from being made? I'm getting annoyed having to rm -r it every time I delete something.

View 3 Replies View Related

Server :: Control Which Drive Letter USB Thumb Drive Gets Assigned During Install Process?

Mar 30, 2010

The software: Ubuntu Server Edition 9.10.The wetware: A programmer doing his best (read: ignorant, shitty) as an ad-h.When I plug the USB thumb drive in, the install OS gives it a drive letter -- /dev/sdb -- and it pushes the original /dev/sdb down to /dev/sdc. The installation works without a hitch, and GRUB2 installs, dutifully pointing the root at /dev/sdc1 instead of /dev/sdb1.I let GRUB2 start normally ("drive not found"), holding the <shift> key to get to the "rescue>" prompt.From there, I issue "ls" to discover that GRUB can NOT see /dev/sdb, and I can tell that because what is showing up as (hd1) does NOT have three partitions as it should.GRUB2 sees a total of 16 drives, not 26, and one of the drives it sees is "fd0" (there is no floppy drive).Issuing commands like "set prefix=(hdx,y)" and "root=(hdx,y)" have no effect as, I think it's just pointing to the (reiserfs)content drives and this GRUB2 tells me "unknown filesystem".I did try them all in vain, hoping that maybe I'd find a kernel somewhere.I used the "rescue" mode of the Ubuntu installer (the USB thumb drive) to get to a root prompt.From there, I mounted /dev/sdc2 (the "shifted" /dev/sdb2) onto /mnt, I mounted /dev/sdc1 (the "shifted" /dev/sdb1) onto /mnt/boot,and then I chroot'ed to /mnt.I edited /boot/grub/grub.cfg, editing every instance of "root=(hd2,1)" to the appropriate UUID for the "real" /dev/sdb1. Then I issued update-grub2.It refused to work giving me an banal "no such partition" error or something like that.

We originally had this server functioning by putting / and /boot on the SS SanDisk, which caused no problems during installation because /dev/sda doesn't get shifted.We then figured it was a good idea to put our OS files on something with failover capability. And that started us down this crappy "shifting drive letter" path.Can I control which drive letter the USB thumb drive gets assigned during the install process?If I could make it be /dev/sdc then I wouldn't be facing this problem.An alternate solution would be to know the cryptic GRUB2 commands that I can issue from the command prompt post-install, pre-reboot.But I'm wondering if that will ultimately work at all considering that GRUB2 couldn't see /dev/sdb at all.

View 2 Replies View Related

Ubuntu :: Update HISTFILE Variable - Each Time Enter New Directory?

May 20, 2010

My purpose is to have a different history file for each directory. Because, it would be usefull for me to access only to commands executed in each directory. In this context, is there any way to update the HISTFILE variable every time I go in a directory?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved