Aşağıdaki diskte, işletim sistemi tarafında max_sector_kb ne olmalı?
root@e8470p:~# hdparm -I /dev/sdb
/dev/sdb:
ATA device, with non-removable media
Model Number: ST1000LM014-1EJ164
Serial Number: W381VN7C
Firmware Revision: SM16
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x001f)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 1953525168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
# cat /sys/block/sdb/queue/max_sectors_kb
512
# cat /sys/block/sdb/queue/max_hw_sectors_kb
32767
Aşağıdaki gibi boyutları değiştiresek nasıl olur?
echo 4096 > /sys/block/sdb/queue/max_sectors_kb
28 Mart 2015 Cumartesi
7 Mart 2015 Cumartesi
6 Mart 2015 Cuma
örnek ubuntu interfaces dosyası
Debian ve Ubuntu linux dağıtımında interface dosyasına bir örnek;
# cat interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto br0 eth0 eth1 eth2 eth3
iface eth0 manual
mtu 9212
iface eth1 manual
mtu 9212
iface eth2 manual
mtu 9212
iface eth3 manual
mtu 9212
iface br0 inet static
bridge_ports eth0 eth1 eth2
bridge_fd 0
bridge_hello 2
bridge_maxage 12
bridge_stp on
mtu 9212
address 172.16.0.44
netmask 255.255.255.0
network 172.16.0
broadcast 172.16.0.255
gateway 172.16.0.254
dns-nameservers 127.0.0.1
dns-search localdomain
auto tap0
iface tap0 inet static
address 10.1.0.254
netmask 255.255.255.0
tunctl_user uml-net
auto vmbr0
iface vmbr0 inet static
address 10.0.254.154
netmask 255.255.255.0
tunctl_user uml-net
mtu 16362
auto vlan2716
iface vlan2716 inet ppp
vlan-raw-device eth3
pre-up /sbin/ifconfig vlan2716 up
post-down /sbin/ifconfig vlan2716 down
provider dsl-provider
# cat interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto br0 eth0 eth1 eth2 eth3
iface eth0 manual
mtu 9212
iface eth1 manual
mtu 9212
iface eth2 manual
mtu 9212
iface eth3 manual
mtu 9212
iface br0 inet static
bridge_ports eth0 eth1 eth2
bridge_fd 0
bridge_hello 2
bridge_maxage 12
bridge_stp on
mtu 9212
address 172.16.0.44
netmask 255.255.255.0
network 172.16.0
broadcast 172.16.0.255
gateway 172.16.0.254
dns-nameservers 127.0.0.1
dns-search localdomain
auto tap0
iface tap0 inet static
address 10.1.0.254
netmask 255.255.255.0
tunctl_user uml-net
auto vmbr0
iface vmbr0 inet static
address 10.0.254.154
netmask 255.255.255.0
tunctl_user uml-net
mtu 16362
auto vlan2716
iface vlan2716 inet ppp
vlan-raw-device eth3
pre-up /sbin/ifconfig vlan2716 up
post-down /sbin/ifconfig vlan2716 down
provider dsl-provider
Kaydol:
Kayıtlar (Atom)
ansible ile yerel quay sunucusu üzerinden execution environment kullanımı
Yerel quay veya registry sunucularımızdaki ee leri ansible ile kullanabiliyoruz. Bunun için kendi yaptığımız ee leri veya hazır ee leri yük...
-
Bu gün ttnetin hediyesi olan tilgin yönlendiriciyle biraz oynayayım dedim Matkap, ve rg316-rp-sma kablo alıp cihazın kapağını tekrar açtım. ...
-
Bu hafta bir kaç gün iett otobüsleriyle istanbul içinde bir yerden bir başka yere gideyim dedim. Otobüslerde klima çalışmaz, pencereler açıl...
-
RHEL tabanlı her hangi bir sistemde felaket durumunda kurtarma modunda açtığımızda chroot yapmadan önce aşağıdaki bağlantı işlemlerini yapma...