I just installed Redhat 7 and try to config the network , add the IP address to network card , but I got the problem.
I modify the file /etc/sysconfig/network-scripts/ifcfg-enp0s3 , the configuration is as below , and then reboot .
DEVICE="enp0s3"
NETBOOT="yes"
HWADDR="08:00:27:15:38:B7"
TYPE="Ethernet"
BOOTPROTO="none"
NAME="enp0s3"
UUID="462f4834-4fe7-43a7-84e7-83b2722e94c1"
ONBOOT="yes"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
After reboot , I use "ip addr show" still not shown the ip address , the ip address is still blank , would advise what is wrong ? thanks
Hi
RHEL 6.4 (64 Bit) is running as a Virutal Machine in a VCenter Server 5.5
As per our request, Vmware team added 500GB of disk space to this VM. Disk is not visible in "fdisk -l" after run the following command/script, but the new disk could be seen from the "multipath -l" command.
for i in `ls -ld /sys/class/scsi_host/host* | awk '{print $9}' `
do
echo "- - -" > $i/scan
done
Could someone clarify why it is not visible in "fdisk -l" output?
Hello, I have an embedded linux device. I can connect to the device and I can upload or download files. No problem with this. But, at first connection, I want to connect to "/" directory instead of "/root". In the device file system, there are files ssh_config and sshd_config under /etc/ssh directory. I think I have to do something with these files but I don't know what.
I don't exactly know what mean "/root" and "/" directories. I think that the real root directory is "/" directory which is empty but when I connect with filezilla, the "/root" directory is the default so I had to go back to / directory everytime.
Hi!
Here is mine configuration and I want make it show unicode(russian) in console, it works perfect in X11 but not when I logging into tty.
vconsole.conf
Code:
LOCALE="en_US.UTF-8"
KEYMAP="sv-latin1"
FONT_UNIMAP="lat1"
FONT_MAP="ISO8859-1"
CONSOLEFONT="ruscii_8x8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Stockholm"
USECOLOR="yes"
I use following shell script to send email. But the subject of email always shows "This" instead of "This is L_1.R is finished". You may refer http://www.linuxquestions.org/questions/linux-newbie-8/how-to-define-variable-in-%60ssh%60-4175540566/
Code:
host_list=("c15-0330-01.ad.mtu.edu" "c15-0330-02.ad.mtu.edu" "c15-0330-03.ad.mtu.edu" "c15-0330-04.ad.mtu.edu")
program=("L_1" "L_2" "L_3" "L_4")
subject="The job is finished"
ssh -f c15-0330-01.ad.mtu.edu 'echo' "the job ${program[0]} is finished" '|' 'mutt "zwang10@mtu.edu" -s' "This is "${program[0]}".R is finished";
Dear Team,
i just received some new space from storage and verified it is allocated on the server by multipath command. now i want to resize the existing partition. Please help me for the same.
below is the multipath command output
multipath -ll
app2 (360060e80105ed650057075f500000011) dm-2 HITACHI,DF600F
[size=400G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=2][active]
\_ 1:0:1:17 sdf 8:80 [active][ready]
\_ 2:0:1:17 sdi 8:128 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:0:17 sdg 8:96 [active][ready]
\_ 2:0:0:17 sdh 8:112 [active][ready]
app1 (360060e80105ed650057075f50000000a) dm-0 HITACHI,DF600F
[size=600G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=2][active]
\_ 1:0:0:10 sdb 8:16 [active][ready]
\_ 2:0:0:10 sdd 8:48 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:1:10 sdc 8:32 [active][ready]
\_ 2:0:1:10 sde 8:64 [active][ready]
Here 600 GB is already applied and i want to add more 400 GB on the same existing partition.
below is the partition details.
df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 97G 9.9G 82G 11% /
/dev/sda5 49G 180M 46G 1% /backup
/dev/sda2 97G 21G 72G 23% /opt
/dev/sda1 99M 12M 83M 13% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/app1p1 591G 117G 445G 21% /app
ls /dev/mapper/
app1 app1p1 app2 control
Please guide me how i can add 400GB space in same 600 GB (/app) partition.
Many Thanks !!
Jignesh Dholakiya
What I did in windows was create images of my drive and restore them.
in linux I am running
Code:
rsync -aAXv --exclude={"/home/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
and this creates a folder for me with all my files, and apparently saves meta data like permissions and paths...
Since I'm using arch and things break sometimes,I'm booted into a CLI with errors and cannot figure my way out since I'm a noob... would I be able to just delete my entire root and replace it with the rsync backup without a problem?
Hello Sirs,
In the below output for few of the hosts/paths there are 4 links and for few there are 2. Why is that so. How do I find out how many paths are there in total that are connected and in use. We are using native multipaths. How do I know what file systems are there on what devices. Please explain or direct me to a link where I can learn about multipaths. Also please explain the difference between "multipath -ll" and "multipath -l"
root@xxXXxxXX [/root]
# multipath -ll
mpathr (820060e8006d945444444d9458282183e) dm-21 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:41 sdbi 67:192 active ready running
`- 2:0:4:41 sdfd 129:240 active ready running
mpathak (8238a95f2258000748844444444444416) dm-15 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:6 sdh 8:112 active ready running
| |- 2:0:1:6 sdds 71:160 active ready running
| |- 1:0:1:6 sdt 65:48 active ready running
| `- 2:0:0:6 sddg 70:224 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:2:6 sdaf 65:240 active ready running
|- 2:0:3:6 sdeq 129:32 active ready running
|- 1:0:3:6 sdar 66:176 active ready running
`- 2:0:2:6 sdee 128:96 active ready running
data16 (820060e8006d945444444d94582821833) dm-67 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:30 sdcw 70:64 active ready running
`- 2:0:5:30 sdgr 132:112 active ready running
mpathe (820060e8006d945444444d94582821f17) dm-45 HITACHI,OPEN-V
size=35G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:12 sdce 69:32 active ready running
`- 2:0:5:12 sdfz 131:80 active ready running
data0 (820060e8006d945444444d94582821815) dm-43 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:14 sdcg 69:64 active ready running
`- 2:0:5:14 sdgb 131:112 active ready running
mpathq (820060e8006d945444444d9458282184a) dm-34 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:53 sdbu 68:128 active ready running
`- 2:0:4:53 sdfp 130:176 active ready running
mpathaj (8238a95f2258000748844444444444415) dm-13 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:2:5 sdae 65:224 active ready running
| |- 2:0:3:5 sdep 129:16 active ready running
| |- 1:0:3:5 sdaq 66:160 active ready running
| `- 2:0:2:5 sded 128:80 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:5 sdg 8:96 active ready running
|- 2:0:0:5 sddf 70:208 active ready running
|- 1:0:1:5 sds 65:32 active ready running
`- 2:0:1:5 sddr 71:144 active ready running
data15 (820060e8006d945444444d94582821832) dm-58 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:29 sdcv 70:48 active ready running
`- 2:0:5:29 sdgq 132:96 active ready running
mpathd (820060e8006d945444444d94582821f15) dm-37 HITACHI,OPEN-V
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:4 sdby 68:192 active ready running
`- 2:0:5:4 sdft 130:240 active ready running
flash4 (820060e8006d945444444d94582822033) dm-44 HITACHI,OPEN-V
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:9 sdcc 69:0 active ready running
`- 2:0:5:9 sdfx 131:48 active ready running
mpathp (820060e8006d945444444d94582821842) dm-24 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:45 sdbm 68:0 active ready running
`- 2:0:4:45 sdfh 130:48 active ready running
mpathai (8238a95f2258000748844444444444414) dm-9 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:4 sdf 8:80 active ready running
| |- 2:0:0:4 sdde 70:192 active ready running
| |- 1:0:1:4 sdr 65:16 active ready running
| `- 2:0:1:4 sddq 71:128 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:2:4 sdad 65:208 active ready running
|- 2:0:2:4 sdec 128:64 active ready running
|- 1:0:3:4 sdap 66:144 active ready running
`- 2:0:3:4 sdeo 129:0 active ready running
data14 (820060e8006d945444444d94582821831) dm-55 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:28 sdcu 70:32 active ready running
`- 2:0:5:28 sdgp 132:80 active ready running
mpathc (820060e8006d945444444d94582821f12) dm-41 HITACHI,OPEN-V
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:1 sdbv 68:144 active ready running
`- 2:0:5:1 sdfq 130:192 active ready running
flash3 (820060e8006d945444444d94582822032) dm-42 HITACHI,OPEN-V
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:8 sdcb 68:240 active ready running
`- 2:0:5:8 sdfw 131:32 active ready running
mpatho (820060e8006d945444444d9458282183a) dm-18 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:37 sdbe 67:128 active ready running
`- 2:0:4:37 sdez 129:176 active ready running
mpathah (8238a95f2258000748844444444444413) dm-5 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:2:3 sdac 65:192 active ready running
| |- 2:0:2:3 sdeb 128:48 active ready running
| |- 1:0:3:3 sdao 66:128 active ready running
| `- 2:0:3:3 sden 128:240 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:3 sde 8:64 active ready running
|- 2:0:0:3 sddd 70:176 active ready running
|- 1:0:1:3 sdq 65:0 active ready running
`- 2:0:1:3 sddp 71:112 active ready running
data13 (820060e8006d945444444d94582821830) dm-54 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:27 sdct 70:16 active ready running
`- 2:0:5:27 sdgo 132:64 active ready running
mpathb (820060e8006d945444444d94582821f14) dm-82 HITACHI,OPEN-V
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:3 sdbx 68:176 active ready running
`- 2:0:5:3 sdfs 130:224 active ready running
mpathag (8238a95f2258000748844444444444419) dm-29 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:2:9 sdai 66:32 active ready running
| |- 2:0:3:9 sdet 129:80 active ready running
| |- 1:0:3:9 sdau 66:224 active ready running
| `- 2:0:2:9 sdeh 128:144 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:9 sdk 8:160 active ready running
|- 2:0:1:9 sddv 71:208 active ready running
|- 1:0:1:9 sdw 65:96 active ready running
`- 2:0:0:9 sddj 71:16 active ready running
mpathn (820060e8006d945444444d94582821844) dm-27 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:47 sdbo 68:32 active ready running
`- 2:0:4:47 sdfj 130:80 active ready running
data12 (820060e8006d945444444d9458282182f) dm-66 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:26 sdcs 70:0 active ready running
`- 2:0:5:26 sdgn 132:48 active ready running
mpatha (820060e8006d945444444d94582821f13) dm-62 HITACHI,OPEN-V
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:2 sdbw 68:160 active ready running
`- 2:0:5:2 sdfr 130:208 active ready running
data9 (820060e8006d945444444d9458282181c) dm-52 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:21 sdcn 69:176 active ready running
`- 2:0:5:21 sdgi 131:224 active ready running
mpathz (820060e8006d945444444d9458282183b) dm-16 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:38 sdbf 67:144 active ready running
`- 2:0:4:38 sdfa 129:192 active ready running
mpathm (820060e8006d945444444d94582821840) dm-22 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:43 sdbk 67:224 active ready running
`- 2:0:4:43 sdff 130:16 active ready running
mpathaf (8238a95f2258000748844444444444417) dm-10 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:2:7 sdag 66:0 active ready running
| |- 2:0:3:7 sder 129:48 active ready running
| |- 1:0:3:7 sdas 66:192 active ready running
| `- 2:0:2:7 sdef 128:112 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:7 sdi 8:128 active ready running
|- 2:0:1:7 sddt 71:176 active ready running
|- 1:0:1:7 sdu 65:64 active ready running
`- 2:0:0:7 sddh 70:240 active ready running
data8 (820060e8006d945444444d9458282182c) dm-68 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:23 sdcp 69:208 active ready running
`- 2:0:5:23 sdgk 132:0 active ready running
data11 (820060e8006d945444444d9458282182e) dm-57 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:25 sdcr 69:240 active ready running
`- 2:0:5:25 sdgm 132:32 active ready running
mpathy (820060e8006d945444444d9458282183f) dm-25 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:42 sdbj 67:208 active ready running
`- 2:0:4:42 sdfe 130:0 active ready running
mpathl (820060e8006d945444444d94582821848) dm-33 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:51 sdbs 68:96 active ready running
`- 2:0:4:51 sdfn 130:144 active ready running
mpathae (8238a95f2258000748844444444444410) dm-2 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:0 sdb 8:16 active ready running
| |- 2:0:0:0 sdda 70:128 active ready running
| |- 1:0:1:0 sdn 8:208 active ready running
| `- 2:0:1:0 sddm 71:64 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:2:0 sdz 65:144 active ready running
|- 2:0:3:0 sdek 128:192 active ready running
|- 1:0:3:0 sdal 66:80 active ready running
`- 2:0:2:0 sddy 128:0 active ready running
data7 (820060e8006d945444444d9458282181d) dm-56 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:22 sdco 69:192 active ready running
`- 2:0:5:22 sdgj 131:240 active ready running
data10 (820060e8006d945444444d9458282182d) dm-53 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:24 sdcq 69:224 active ready running
`- 2:0:5:24 sdgl 132:16 active ready running
mpathaq (8238a95f22580007488444444444444b3) dm-38 IBM,2145
size=256G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:3:11 sdaw 67:0 active ready running
| |- 2:0:2:11 sdej 128:176 active ready running
| |- 1:0:2:11 sdak 66:64 active ready running
| `- 2:0:3:11 sdev 129:112 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:11 sdm 8:192 active ready running
|- 2:0:0:11 sddl 71:48 active ready running
|- 1:0:1:11 sdy 65:128 active ready running
`- 2:0:1:11 sddx 71:240 active ready running
mpathx (820060e8006d945444444d94582821841) dm-23 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:44 sdbl 67:240 active ready running
`- 2:0:4:44 sdfg 130:32 active ready running
mpathk (820060e8006d945444444d9458282183c) dm-19 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:39 sdbg 67:160 active ready running
`- 2:0:4:39 sdfb 129:208 active ready running
mpathad (8238a95f2258000748844444444444411) dm-3 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:2:1 sdaa 65:160 active ready running
| |- 2:0:3:1 sdel 128:208 active ready running
| |- 1:0:3:1 sdam 66:96 active ready running
| `- 2:0:2:1 sddz 128:16 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:1 sdc 8:32 active ready running
|- 2:0:0:1 sddb 70:144 active ready running
|- 1:0:1:1 sdo 8:224 active ready running
`- 2:0:1:1 sddn 71:80 active ready running
data6 (820060e8006d945444444d9458282181b) dm-65 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:20 sdcm 69:160 active ready running
`- 2:0:5:20 sdgh 131:208 active ready running
mpathw (820060e8006d945444444d94582821849) dm-30 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:52 sdbt 68:112 active ready running
`- 2:0:4:52 sdfo 130:160 active ready running
mpathac (820060e8006d945444444d94582821843) dm-26 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:46 sdbn 68:16 active ready running
`- 2:0:4:46 sdfi 130:64 active ready running
mpathj (820060e8006d945444444d94582821838) dm-14 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:35 sdbc 67:96 active ready running
`- 2:0:4:35 sdex 129:144 active ready running
data5 (820060e8006d945444444d9458282181a) dm-48 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:19 sdcl 69:144 active ready running
`- 2:0:5:19 sdgg 131:192 active ready running
data23 (820060e8016726a828201726a8282172f) dm-8 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:4:57 sdba 67:64 active ready running
`- 2:0:6:57 sdgy 132:224 active ready running
mpathv (820060e8006d945444444d94582821845) dm-28 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:48 sdbp 68:48 active ready running
`- 2:0:4:48 sdfk 130:96 active ready running
mpathi (820060e8006d945444444d94582822031) dm-40 HITACHI,OPEN-V
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:7 sdca 68:224 active ready running
`- 2:0:5:7 sdfv 131:16 active ready running
mpathab (820060e8006d945444444d94582821847) dm-32 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:50 sdbr 68:80 active ready running
`- 2:0:4:50 sdfm 130:128 active ready running
data4 (820060e8006d945444444d94582821819) dm-51 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:18 sdck 69:128 active ready running
`- 2:0:5:18 sdgf 131:176 active ready running
data22 (820060e8016726a828201726a8282172d) dm-7 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:4:55 sday 67:32 active ready running
`- 2:0:6:55 sdgw 132:192 active ready running
mpathan (8238a95f2258000748844444444444418) dm-20 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:8 sdj 8:144 active ready running
| |- 2:0:0:8 sddi 71:0 active ready running
| |- 1:0:1:8 sdv 65:80 active ready running
| `- 2:0:1:8 sddu 71:192 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:2:8 sdah 66:16 active ready running
|- 2:0:2:8 sdeg 128:128 active ready running
|- 1:0:3:8 sdat 66:208 active ready running
`- 2:0:3:8 sdes 129:64 active ready running
mpathu (820060e8006d945444444d94582821839) dm-12 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:82 sdbd 67:112 active ready running
`- 2:0:4:82 sdey 129:160 active ready running
data19 (820060e8006d945444444d94582821882) dm-61 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:33 sdcz 70:112 active ready running
`- 2:0:5:33 sdgu 132:160 active ready running
mpathh (820060e8006d945444444d94582822030) dm-39 HITACHI,OPEN-V
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:6 sdbz 68:208 active ready running
`- 2:0:5:6 sdfu 131:0 active ready running
mpathaa (820060e8006d945444444d94582821837) dm-11 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:34 sdbb 67:80 active ready running
`- 2:0:4:34 sdew 129:128 active ready running
data3 (820060e8006d945444444d94582821817) dm-47 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:16 sdci 69:96 active ready running
`- 2:0:5:16 sdgd 131:144 active ready running
data21 (820060e8016726a828201726a8282172c) dm-6 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:4:54 sdax 67:16 active ready running
`- 2:0:6:54 sdgv 132:176 active ready running
mpatht (820060e8006d945444444d9458282183d) dm-17 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:40 sdbh 67:176 active ready running
`- 2:0:4:40 sdfc 129:224 active ready running
mpatham (8238a95f2258000748844444444444412) dm-4 IBM,2145
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:2 sdd 8:48 active ready running
| |- 2:0:1:2 sddo 71:96 active ready running
| |- 1:0:1:2 sdp 8:240 active ready running
| `- 2:0:0:2 sddc 70:160 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:2:2 sdab 65:176 active ready running
|- 2:0:2:2 sdea 128:32 active ready running
|- 1:0:3:2 sdan 66:112 active ready running
`- 2:0:3:2 sdem 128:224 active ready running
mpathg (820060e8006d945444444d94582822037) dm-64 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:13 sdcf 69:48 active ready running
`- 2:0:5:13 sdga 131:96 active ready running
data18 (820060e8006d945444444d94582821835) dm-60 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:32 sdcy 70:96 active ready running
`- 2:0:5:32 sdgt 132:144 active ready running
data20 (820060e8016726a828201726a8282172e) dm-50 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:4:56 sdaz 67:48 active ready running
`- 2:0:6:56 sdgx 132:208 active ready running
data2 (820060e8006d945444444d94582821818) dm-49 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:17 sdcj 69:112 active ready running
`- 2:0:5:17 sdge 131:160 active ready running
mpathal (8238a95f225800074884444444444441a) dm-35 IBM,2145
size=589G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:10 sdl 8:176 active ready running
| |- 2:0:1:10 sddw 71:224 active ready running
| |- 1:0:1:10 sdx 65:112 active ready running
| `- 2:0:0:10 sddk 71:32 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:2:10 sdaj 66:48 active ready running
|- 2:0:3:10 sdeu 129:96 active ready running
|- 1:0:3:10 sdav 66:240 active ready running
`- 2:0:2:10 sdei 128:160 active ready running
mpaths (820060e8006d945444444d94582821846) dm-31 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:5:49 sdbq 68:64 active ready running
`- 2:0:4:49 sdfl 130:112 active ready running
mpathf (820060e8006d945444444d94582822034) dm-63 HITACHI,OPEN-V
size=275G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:10 sdcd 69:16 active ready running
`- 2:0:5:10 sdfy 131:64 active ready running
data17 (820060e8006d945444444d94582821834) dm-59 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:31 sdcx 70:80 active ready running
`- 2:0:5:31 sdgs 132:128 active ready running
data1 (820060e8006d945444444d94582821816) dm-46 HITACHI,OPEN-V
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 1:0:6:15 sdch 69:80 active ready running
`- 2:0:5:15 sdgc 131:128 active ready running
root@xxXXxxXX [/root]
Hello,
They gave me this:
Code:
#!/bin/bash
# Write error message on stderr and die
function die() {
echo "$@" >&2
exit 1
}
# Load var from properties files
function load() {
for propertie in "$@" ; do
[[ -f "${propertie}" ]] || die "load() : \"${propertie}\" don't exist !"
while read ; do
echo "${REPLY%=*}"
echo "${REPLY#*=}"
[[ -n "${REPLY%%=*}" && -z "${REPLY#*=}" ]] || die "load() : Variable \"${REPLY%%=*}\" is empty!"
eval "${REPLY%%=*}"=\'"${REPLY#*=}"\'
done < "${propertie}"
done
}
load "manage_srcds.conf"
echo "SRCDS_TICKRATE=$SRCDS_TICKRATE"
echo "SRCDS_SCREEN=$SRCDS_SCREEN"
echo "SRCDS_SRCDS_GAME_NAME=$SRCDS_GAME_NAME"
echo "SRCDS_MAXPLAYERS=$SRCDS_MAXPLAYERS"
but, return:
Quote:
###################################################
###################################################
load() : Variable "###################################################" is empty!
cat manage_srcds.conf
I just wish that there was no empty variable excluding those who do not have integer.
Best regards,
Hey guys,
I have fedora version 8 with mysql 5.0.45 istalled. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing puposes) in root...i wasnt able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a messeage saying
"Timeout error occurred trying to start MySql Daemon"
Could you please assist...
Thanks in advance,