Software :: Tape Loader Device /dev/sgN Is Altering After Each Reboot
Sep 24, 2009
We are running SLES 11 where an iscsi tape library is attached. To load the tape in a slot we are using for
instance the command #mtx -f /dev/sg1 load 2 which is doing very well. But after a server's reboot the device name of the loader is now /dev/sg4 or /dev/sg5 I mean it is dynamic. Is there any way to have a fixed device name for all times?
In my RHEL 5.4 system after each reboot the device file of tape changer (IBM-3310 Tape library) is changing.So i am not able to give a fixed device file in backup software.
I have been using an LTO-5 Ultrium-3000 tape drive connected to an ATTO HBA without problem. I can control the tape drive using "mt -f /dev/nst0" and have been able to make successful backups using cpio, tar, and dump/restore. I followed some instructions on the web about how to install the HPE Library and Tape Tools application (version 4.21) which relies on conversion of a rpm to a deb file. The software seems to have been installed correctly and runs. However the hardware scan function does not recognize my tape drive. The following is suggested in the user manual if the tape device is not recognized by the software under Linux:
1. Login as root. 2. Edit the following file: vi /etc/modules.conf 3. Add the following line as appropriate: add options scsi_mod max_scsi_luns=128 4. Reboot the computer.
The problem is I don't have an /etc/modules.conf and am not sure exactly which file would be equivalent? If this is even the correct solution.
My tape drive is controllable and functions well using "mt -f /dev/nst0 status" so it seems to be a matter of LT&T software to detect the tape drive.
At the risk of providing too much info here some, possibly relevant, output from lshw
*-pci:3 description: PCI bridge product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1 vendor: Intel Corporation physical id: 1c bus info: pci@0000:00:1c.0 version: b5
I am looking at getting a DLT drive for my network; however, I have never used the tar command with a tape drive. What happens if the data is larger then 1 tape? Does the tar application automatically span tapes or do I need to use switches so it spans multipule tapes? Right now my Full backup will take 2 or 3 tapes.
I have dell poweredge 830 server with tape drive and RHEL 4 running on it....the issue i am facing is,i am unable to insert the tape as i had ejected the tape forcefully from it....
i tried to do a listing of the contents backedup on tape and it got struck in middle throwing below error,
/dev/st0:device input/output error. after which i was unable to eject the tape using mt -f /dev/st0 rewoffl
i removed the tape by holding the eject button and now when i try to insert another tape, it's unable to take the tape in to tape drive...
I've tried doing all except reeboting the server, can any one help me out in this issue, hope the blow information may help in debugging the issue... code....
I have a Laptop ( Samsung R510 Driton (Aura Series) with Win XP installed, and wanted to install fedora 10, too, as i really want to test a few things in linux and get a little knowledge there....
I Installed fedora with his guide: [url]
And as for Dual boot i also read this guide: [url]
I created root, home, swap (8 gb), usr, var all in all about 100 gb (i know its much, but i have enough space :)
After the installation, fedora wanted to restart my laptop, i let it restart and GRUB came up, i chose "fedora 10" pressed enter and the laptop just restarted....did the same thign again, andn ow fedora was about 2 secs in the loading screen and then restarted again....i've chosen windows and the laptop isj ust restarting...i tried windows again and windows is loading ....but i dont get in fedora 10....
Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.
All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.
After I reboot my Ubuntu 10.04.2 LTS l machine my device paths change (even the boot drive) and this causes havoc on my two RAID5 arrays. The device paths change and causes a mismatch in my fstab and I have to manually mount both RAID arrays every time. It's quite frustrating and annoying and I would love for it to stop. This even happens for the boot path.
Example: my boot path is /dev/sde5 I reboot my machine and my boot path changes to /dev/sdm5
Why does this happen? And more importantly how can I stop it from happening so it stops messing with my RAIDs?
Is there a way of altering the time between password requests. For example after I login there seems to be a certain amount of time before the screen blanks out and a new request for the user password is asked. I would like to increase the time substantially.
Having recently installed Ubuntu 10.10, I'm currently looking around for different programs. However, it's already getting on my nerves that I have to type my password every time I want to install something. Where and how do I disable this? I already set myself as admin in the user settings but that doesn't seem to work.
This goes for things like changing system settings too, it's really annoying.
Currently using a USB mouse, keyboard and the USB touch input from an Elo touchscreen connected to a Raspberry Pi (using the Raspbian flavor of Debian) through a USB hub and when I query the content of the directory /dev/input/ I get 4 "events" with each event designation associated with one of the input devices (the 4th one never seems to be active??).
If I examine an "event" characteristics using the linux utility "evtest" - example "event0" , I "might" get:
pi@raspberrypi /dev/input $ evtest event0 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x4e7 product 0x20 version 0x100 Input device name: "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface"
[Code] ....
which is the Elo touchscreen.
But if I reboot the Raspberry Pi - I can also get for an evtest of "event0":
pi@raspberrypi /dev/input $ evtest event0 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x413c product 0x3010 version 0x100 Input device name: "HID 413c:3010"
[Code] ....
which is the USB mouse.....
It appears as if the assignment of the "eventX" identifiers (i.e. the "X") is arbitrary and it can vary with each reboot... which is problematic as I need to identify which "device" will provide the touch events for openframeworks. Is there a way to assign a specific device to a specific "eventX" designation ???
I built a Raid5 volume with 3 SATA II hard disk drives. Further I have a system disk conected through IDE. During the first setup the IDE disk becomes sda, the SATA II disk sd[bcd] respectively. Now, sometimes the device names change after reboot - why ever... E.g. one of the raid5 disk become sda and so I got an error message during the boot procedure regarding the raid set. Curious, when the system is up and I stop and restart the Raid5 volume it comes up and runs fine. Because I'm currently at work I can't post any more detailed config files at the moment.
The ethernet configuration files are under "/etc/sysconfig/network-scripts" such as "ifcfg-eth0:1" etc.
The file looks as follow: Code: DEVICE="eth0:1" BOOTPROTO="static" ONBOOT=no IPADDR="172.23.17.10" NETMASK="255.255.255.0" ALIAS="yes"
I've set the ONBOOT=no. This means this device should not be activated at boot-time. But as I reboot the machine, this device is activated again. This means the option ONBOOT doesn't work. Seems this is a bug of RedHat LINUX?
I've got an LVM2 VG containing 1 LV running on SLES11 SP1.
I have an entry in /etc/fstab to remount them at boot:
Code: /dev/myVG/ibmLV /opt/IBM ext3 defaults 0 0 Whenever I reboot the whole VG disappears and I find the following in /var/log/boot.msg: Code: <notice -- Apr 15 12:35:55.954677000> boot.localfs start Waiting for /dev/myVG/ibmLV . no more events
I've trying to get dnsmasq working as a combined dns and dhcp server. It's infuriating so far... In short, the DNS works fine for anything added to /etc/hosts, and the dhcp works fine, but the dhcp is not updating the dns with hostname information from clients.
The outcome of this is that i can only ping a node by hostname if i know it's address, which means setting a static dhcp allocation and putting the hostname into /etc/hosts manually, which is very annoying and kind of defeats the poit of dhcp. There must be a way to get dnsmasq to update the hosts file, surely The clients aren't using fqdn's if that matters, and i think i've tried every combinination of "expand-hosts" and "domain=" following is the dnsmasq config file contents:
I have 10.04.1 on my server with a 250gb sata drive. I have all my files on this hard drive. I'm running out of space so I have another 250gb sata drive I need installed. I want to create raid 0 so I can expand my servers hard drive space. I don't want to lose my data on original hard drive or reinstall to create the raid. Is there a way to achieve this with mdadm without altering the first hard drives data?
Is there a command I can implement into a script that I am working on to change the maximization state of a window (maximize/restore)? I know there is a keyboard shortcut (Alt + F10), and I'm not interested in doing that.
I tried to install F12 on my new IDE-HDD. The installation completed without any errors. But, when rebooting my PC I got a dark screen with error message: reboot and select proper boot device.
No BIOS boot up issue, since booting up using other hard disk running windows has no problem at all. I have set the hardisk jumper to master/primary, tried to re-install F12 a couples of time, but didn't make any difference.
I've been trying since ever to install the new ubuntu on my FakeRaid controller and I'm really starting to get frustrated. After restarting, i get the message "reboot and select proper device.." So my first tough was that my grub was not installed properly. So i ran the boot_info_script.sh that I found in the forum and here is my output. It says that the boot loader is not installed and my Raid is screwed up. I went look in the BIOS and everything looks fine. Ive put the result.TXT from the script.
Quote:
Boot Info Script 0.60 from 17 May 2011 ============================= Boot Info Summary: =============================== => No boot loader is installed in the MBR of /dev/mapper/ddf1_00000000000000004b1ba2914b1ba291f5010000f5010 000. ddf1_00000000000000004b1ba2914b1ba291f5010000f5010 0001: ________________________
I'm new here and hope to profit from your immense linux knowledge and of course to share my own experience where I can.
I'm in a student organization and we use a file server that runs linux. I can log in through ssh and copy using scp using login and password (no rsa/dsa keys because most users are windows users using winSCP and they're lacking in computer knowledge so we don't require them to mess around with keys)
However, I don't have network access everywhere, so I'd like to make a copy on my laptop harddisk of some of the folders I use most frequently. Note that I don't need it to copy files from my pc back to the remote server so I don't need two-way sync. Deleting the local copy every time and downloading a new full copy is not an option as we are talking about several gigabytes and the download speed is limited. Normally I would use Unison, however, this requires unison to be installed on both pc's and I can't install any software on the file server so this is not an option.
Any ideas on how to achieve this? I'm reasonable knowledgable about linux so I don't mind tinkering with some config files and using command line applications.
Unfortunately accidentaly I disconnected my usb drive my computer and my VMs run from so I just rebooted for a quick fix Now I can't open virt-manager locally and the VM's can't get network connections I see this in the logs after the last two reboots
Code:
grep lxc /var/log/messages |tail -n 2 Jan 7 00:45:04 F820 libvirtd: 00:45:04.524: warning : lxcStartup:1895 : Unable to create cgroup for driver: No such device or address Jan 7 11:52:53 F820 libvirtd: 11:52:53.325: warning : lxcStartup:1895 : Unable to create cgroup for driver: No such device or address
[code]...
I tried restarting libvirtd after with no love so I rebooted and cgroup was gone this was a clean install of F14, after this started I brought the system current, I can provide the packages installed but they errors didnt change
Recently setup Ubuntu Server 10.10 on an old Dell Poweredge 2650. It seemed to be working perfectly until I did my first reboot. I tried changing the 'root' reference on the linux line at the grub menu with no luck. I suspect the problem is something else but I have no clue.
So far the behavior seems completely consistent. If I physically power the machine down and start it back up everything works perfectly. However, if I do a sudo reboot now I'll end up at the initramfs prompt. I'm not comfortable setting up my dev environment on this box until I'm sure it will be stable. In case it matters the machine is running a single scsi drive and doesn't have a raid controller.
I installed ubuntu using wubi and then I tried installing grub 2 but it failed. I need a way to reinstall the mbr sp it will load the windows 7 loader from the first partition.
I'm installing Fedora 11 x86_64 from the DVD iso. The SHA256 checksum was fine, and the media checked out fine just prior to install. The F11 install seems to go perfectly and I get all the way through the installation. However, on reboot, I get this message, "No bootable device -- insert boot disk and press any key"!!!!I'm installing to an old Intel 975XBX2 motherboard with 4GB of memory, which I have used successfully, flawlessly for every single Fedora install since F6. I've only been using one hard drive with a FAT32 partition, and an NTFS partition for Windows XP, the remainder of the disk is Fedora.I've probably tried this F11 install about 8 or 9 times already with no success; actually, the installation seems to go perfectly, but I just cannot boot the PC. I think there's something wrong with GRUB being written into the MBR of the hard drive, because I cannot boot DOS on that FAT32 partition, I can't boot into the NTFS partition which contains XP, nor can I boot into F11.Anyone else having problems with the boot? I've been a long time Fedora user and was counting on the reliability of F11: Wondering if that Anaconda re-write had anything to do with all of these problems?
what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab
so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)