CentOS 5 :: Cannot Get 1M IO With Block Devices?

Nov 19, 2009

I am trying to do 1Meg IO to one of the block devices but I can only get a maximum of 512K IO size. I can use the corresponding sg device to get 1Meg of IO. I was wondering if anyone knows why 1Meg IO to a block device is being broken down into 2 512K chunks? I have increased the /sys/block/sdg/queue/max_sectors_kb to 16384, but it has made no difference.

My uname is : Linux virgo 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

View 12 Replies


ADVERTISEMENT

Debian Installation :: One Or More Block Devices Are Holding

May 28, 2013

I'm using a Dell SC440 server for this effort. I started with Debian 6.0.7 32 bit i386 version in mid April and everything seemed to go smoothly until the first boot finished, I wanted to look at the hard drive just to see what storage space was left to work with. The drive was not recognized and I could not mount it. The error message was "One or More Block Devices are Holding /dev/dm-0".

I could not find anything on the debian forums that seemed to relate to the error message so Google led me to the same problem on Fedora, Ubuntu and one other distro. I flattened the machine and restarted from scratch. This time using Debian 6.0.7 AMD64 version. The install went well but I had the same problem with the same results. So I started over several more times before the new Debian 7.0 AMD64 version was released. Under Debian 7.0 I not only get the same error message but I also get a message that my video card is not supported under this new version of gnome and sudo does not work.

View 2 Replies View Related

Ubuntu Security :: Block Users From USB Drive/Devices And CD-Rom

Sep 20, 2010

Block Users from USB Drive/Devices and CD-Rom I am using Ubuntu 9.10- the Karmic Koala(64 bit) in my company. I would like to block the users(except Super user) from using USB Drive/Devices and CD-Rom for security resons and to prevent my employees from copying data.

In Users Settings, I tried unchecking some items in User Privileges tab but it didn't work.

View 6 Replies View Related

Hardware :: Steps To Block Usb Mass Storage Devices?

Sep 7, 2010

steps to block usb mass storage devices in linux

View 2 Replies View Related

CentOS 5 Hardware :: SW RAID - Raid Devices Larger Than Total Devices

Dec 7, 2010

I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried

mdadm /dev/md2 -r failed
mdadm /dev/md2 -r detached

but neither work and since there is no block device listed I'm not quite sure how to get things back in sync so it's only seeing the three drives.

/dev/md2:
Version : 0.90
Creation Time : Tue May 25 11:07:04 2010
Raid Level : raid5

[code]....

View 8 Replies View Related

CentOS 5 :: Does The Centos Kernel Support Growing Raid Devices

Oct 16, 2010

I'm setting up a raid 5 on several hard disks with a layer of lvm on top for good measure.I know the recent kernels support growing software raid, but since centos runs 2.6.18, I wanted to make sure it'll work. Does the centos kernel support growing raid devices?

View 1 Replies View Related

CentOS 5 :: How To Delete NBD Devices

Aug 15, 2011

I have created a number of network block devices that I would like to delete, but I have been unable to find any information to do this.

I am using Centos 5.6 and my kernel is 2.6.18-238.el5.

I have been searching the internet for two days now and have noticed some other UNIX systems do have utilities for deleting unwanted devices but nothing for linux.

I created these devices with the vmware supplied PERL script vmware-mount.pl which in turn calls mknod.

The commands would look like:

mknod /dev/nbd0 b 43 0
mknod /dev/nbd1 b 43 1
......

I have tried deleting them from /dev which works temporarily but they come back when I reload the nbd module i.e.

modprobe -r nbd
modprobe nbd

and also if I reboot.

There is a directory tree for each device under /sys/block and I'm guessing this is how /dev is getting repopulated. I cannot remove the directory trees from /sys/block. I get this when I try:

rm: cannot remove `nbd15/queue/iosched/slice_idle': Operation not permitted
rm: cannot remove `nbd15/queue/iosched/slice_async_rq': Operation not permitted
...... there are 25 lines like this ....

When I do a vgsan I see this:Reading all physical volumes. This may take a while...

/dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
/dev/nbd0: read failed after 0 of 4096 at 2199022141440: Input/output error

and in the messages log I see this:

Aug 15 21:04:06 udon-desktop kernel: nbd15: Attempted send on closed socket
Aug 15 21:04:06 udon-desktop kernel: end_request: I/O error, dev nbd15, sector 0

View 3 Replies View Related

CentOS 5 :: How To Use Xm Block-attach

Apr 24, 2009

I would like to mount a Xen image, so I can access the files in the Xen guest.

On SLES it is done like this

# open device
xm block-attach 0 tap:aio:/vm/backend.img xvda w
# Discover the attached disk
fdisk -l /dev/xvda

[Code].....

View 3 Replies View Related

CentOS 5 :: Block A Particular Website?

May 11, 2011

I've installed centos 5.5. how can i block a particular website?

View 3 Replies View Related

CentOS 5 :: Discover Unrecognized Devices ?

Oct 13, 2010

How can I discover unrecognized devices on centOS? what is the command ?

View 2 Replies View Related

General :: CentOS 5.3 - How To Block Attachments

Jul 7, 2011

I have centos 5.3 installed with squid server. I want to block attachment in yahoo, google, etc.

View 1 Replies View Related

CentOS 5 :: How To Block Video Streaming

Feb 3, 2010

I want to block/restrict video streaming on my Squid Server(LAN Environment) so no body will able to see live videos. Kindly provide me the solution. I m using CentOS 5.3 Server. squid.conf file is in /etc/squid/squid.conf.

View 1 Replies View Related

CentOS 5 Networking :: Error - No Network Devices Available - 5.3

May 6, 2009

Right now I have this error

On my top right hand corner. No network devices available.

My distro is Centos 5.3

View 2 Replies View Related

CentOS 5 Hardware :: /dev/sda (SATA) Devices Detected As /dev/hda?

May 15, 2009

I have an issue with Hard Drives in GNU/Linux CentOS 5.3I installed linux 5.3 frash copy to new SATA MAXTOR 1000GB Hdd.And see the partitions is SATA MAXTOR 1000GB (NEW INSTALLATION CentOS 5.3)

/dev/sda1 Boot
/dev/sda3 /
(/dev/sda2 is the SWAP)

[code].....

View 5 Replies View Related

CentOS 5 Networking :: Devices Can't Be Found When Boot

Nov 6, 2010

I`ve boot my laptop by centos. then my devices cant be found.

View 1 Replies View Related

CentOS 5 :: Best Way Of Specifying Names Of Ethernet Devices In CentOS5.5 Or Later?

Apr 13, 2011

What is the best way of specifying the names of ethernet devices in CentOS5.5 or later? There seems to be at least two ways of doing this: Would the 60_net.rule file override a 010_netinterfaces.rules file because it gets executed later, or would the 010_ net interfaces. rule file set up the info in /sys which would then be used by 60_net.rule?

View 2 Replies View Related

CentOS 5 Hardware :: Failed To Upgrade 4.6 To 5.3 Due To I2O Block

Oct 9, 2009

I want to upgrade my current Centos 4.6 to the newer version which is Centos 5.3 without wiping off my current HD, I have an Adaptec Raid Controller on my supermicro server, but strangely enough Centos 5.3 DVD Installer can't do upgrade only full install and dont event recognize my HDs (cause it didnt load the I2O block drivers). Is there any way during installtion procedure to load the I2O block driver via kernel parameter or other switches?

View 5 Replies View Related

CentOS 5 :: Block YUM From Installing A Package Permanently?

Apr 12, 2011

I'm a java developer that must use the official JDK distribution. We tried using the open version and it gave us problems. We run the same java in DEV as we do in PRO.

OpenOffice INSISTS -- CANNOT LIVE WITHOUT -- the openjdk... EVERY TIME I try to update, it wants to install that package!

Is there a way that I can block the system from installing a package? Maybe I could just tell people to do --skip-broken with all their upgrade commands, because I disabled that package somehow? Anyone know how to do this?

View 1 Replies View Related

CentOS 5 Networking :: Iptables DOS Temporarily Block IP?

May 5, 2011

I have the requirement that if our website receives 20 or more requests within 60 seconds, to block the offending IP address for 5 minutes, then allow them access again. My only certain mechanism to do this is iptables. I wrote the following series of commands:

iptables -N RATE_CHECK
iptables -N DOSAttack
iptables -N RemoveBlock

[code]...

I am limited in my testing, but the little I have been able to test seems to be having no effect. will the above commands have the desired effect.

View 4 Replies View Related

CentOS 5 :: Granting R / W Permissions Of Devices To End User At Login?

May 27, 2009

I have a minor issue with permissions. There are a couple of devices that I need r/w access to in /dev. Whenever I first boot up and log in as end user (not root) and I need to access the devices permission is denied. Logging in as root there's no problem accessing these devices. However as an end user every time I need the devices I have to first su to root to change R/W permissions (chmod 666).

Now, the good thing is that the permissions stick even as I logout and then log back in, but as soon as I reboot my computer (every night) I have to go and chmod manually. I'm trying to find a way to avoid having to su and chmod manually but I'm not having much luck. The devices I am trying to access are /dev/ttyS1 and /dev/windrvr6, when I first boot up and login as end user the permissions look as follows:

crw-rw---- 1 root uucp 4, 65 May 27 04:11 /dev/ttyS1
crw-r--r-- 1 root root 253, 0 May 27 09:12 /dev/windrvr6

View 3 Replies View Related

CentOS 5 :: Unable To Mount Devices In Rescue Mode?

Aug 1, 2010

Booting to CentOS 5.5 works and I am able to login with all my devices mounted. When I boot from the install DVD and type "linux rescue" I eventually get the message, after attempting to have one of the screens mount my partitions in read/write mode:

"An error occurred trying to mount some or all of your system. Some of it may be mounted under /mnt/sysimage." But nothing appears mounted under /mnt/sysimage. Should I try mounting my CentOS 5.5 partitions manually at this point ?

View 7 Replies View Related

CentOS 5 Networking :: After Install Cant Surf The Net - No Devices For Network

Sep 12, 2010

I installl centos in my pc after i install, i cant surf the net,showing no devices for network

View 1 Replies View Related

CentOS 5 Hardware :: Multiple Identical Devices With Symlinks

Jan 17, 2011

At work, I have a laptop configured with CentOS 5.5 that we will be using to run latency tests on two different mobile networks. To do so, we have two Novatel USB HSPA+ wireless modems connected, and configured using wvdial. The problem we are having right now is, wvdial is configured using the path to the modem to connect (/dev/ttyUSB0 for Network#1 and ttyUSB5 for Network#2), which only works if we insert the modems in the right order. I've tried alot of udev rules and what not to try and hard code the device names to something like /dev/modem_network1 and /dev/modem_network2, but that doesn't seem to work.

So at this point I'm trying to take a step back and a fresh look at the problem. Can anyone give me any information regarding where I should begin to get this done?

View 9 Replies View Related

CentOS 5 Hardware :: (Nokia 6086) - Pairing Bluetooth Devices

May 14, 2009

pairing bluetooth devices on Centos? I'm trying to pair a phone (Nokia 6086) with a bluetooth dongle. I've been able to do it on Ubuntu (using the bluetooth applet), but so far no luck connecting it to a Centos machine. Steps I have taken so far:

[Code]...

View 1 Replies View Related

CentOS 5 Server :: ISCSI Devices Appears As Different /dev Names On Different Hosts

May 22, 2009

I have a fairly simple iSCSI setup using two devices, but they have swapped names on different machines. running CentOs 5.3 ia64, and using iscsi-initiator-utils-6.2.0.868-0.18.el5

vm1:
[root@vm1 ~]# fdisk -l
Disk /dev/xvda: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

Any way to get iSCSI to mount the devices as consistent device names ?

View 5 Replies View Related

CentOS 5 Hardware :: An Error Occurred - No Valid Devices Were Found

Jul 12, 2010

when i want to install centos 5.5 i take this error:

An error occurred - no valid devices werefound on which to crate new file systems.

my hardware specification is:

motherboard: gigabyte p55a-ud3
ram: ddr3 crucial 4gb
cpu: corei5 750
hdd: 2X1TB wd black edition raid1

View 8 Replies View Related

CentOS 5 Hardware :: Buffer I/O Error On Device Sda, Logical Block 0?

May 20, 2009

I had installed the CENT OS 5.3 it is installed when i rebooted it gives me error continuously.

Buffer I/O Error on device sda, Logical Block 0
ata4.00 : exception Emask 0x0 SAct 0x0 action 0x0 frozen ......
ata4.00 : status: { DRDY }

why it has giving the error.i have Intel based hardware Core II Duo with 1 GB ram check with sata hard drive 120 GB.

View 1 Replies View Related

CentOS 5 :: Buffer I / O Error On Device HDD - Logical Block 176935

Sep 4, 2009

I just downloaded an iso of the latest CentOS dist (5.3) and burned it to disk. I booted from the CD and received the following error:
Memory for crash kernel (0x0 to 0x0) not within permissible range
Illegal mode for this track or incompatible medium -- (asc=0x64, ascq-0x00)
The failed "read 10" packet command was:
Buffer I/O error on device hdd, logical block 176935

(This error message repeats for another 9 or 10 times then it says the following)
Red Hat nash version 5.1.19.6 starting
Setting up new root fs
(Then there are some unmounts which are old /dev, /proc, /sys. At this point a series of steps begin).

Setting Clock
Starting udev
Loading default keymap (us)
Setting hostname local host.localdomain
Setting up logical volume management
Checking file systems

These are just some of the steps that appear after the above error is displayed, all of the steps that load have an ok status. After those are completed I get to a text prompt - localhost login: At this point my keyboard does not seem to respond, pressing enter or any of the other keys seems to have no effect. I noticed that during the load process I could toggle the light for caps and num lock, but at the login screen it does'nt work. So at this point I'm not sure if I'm having a technical issue or if its just another case of an user error.

View 11 Replies View Related

CentOS 5 Hardware :: Error Message : Mount: /dev Is Not A Block Device

Sep 13, 2011

I virtualized a PC with VMware vCenter Converter. But when I boot my virtual PC, I have an error.I found this link but I can't mount /dev, /sys and /proc. I have this error message : mount: /dev is not a block device.

View 2 Replies View Related

Server :: DHCP Server On CentOS 5.5 Not Working - When Connect Any Devices To Eth1 They Don't Get Any IP

Dec 2, 2010

I'm no expert on DHCP. My problem is that i have a CentOS 5.5 server on which i want to install a DHCP server. I have two NICs where eth0 has access to the internet and where eth1 should act as an DHCP server.

I have installed dhcpd and this is how my dhcpd.conf file looks like.

Code:

ifconfig looks like this

Code:

When i start dhcpd on eth1 i get no error messages but when i connect any devices to eth1 they don't get any IP. I cant find anything in any logs about devices trying to get an IP address. I dont have any firewall rules in iptables.

View 4 Replies View Related







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