Tag Info

New answers tagged

8

You have 2 problems with your code: 1) IF only does a numeric comparison if the string on both sides evaluates to a number. Your left side is numeric, but your right side has quotes, which forces the entire comparison to be done using string semantics. Numeric digits always sort higher than a quote character, so it always reports TRUE. As austinian ...


3

Take out the "s from around the number, and the script almost works correctly. Using the "s forces a string comparison instead of a numerical comparison. As dbenham notes, CMD only stores (and compares) numbers as 32-bit signed ints. Since we're checking for GB, we can reasonably ignore several of less significant digits. If we remove the last 6 digits, ...


0

I also received this error. Luckily, I was in an initial build-out phase, no data to lose. I should note that the logical volume had just been created within the last half hour. To allow removal of the logical volume I performed the following: (In fdisk) Delete the table partition I had created for this logical volume. (In fdisk) Performed a write - ...


2

I know you can do the following in Linux LVM and can only assume that it may be possible on other OS's: Use the Volume Manager to set up your redundancy and data striping for reliability and performance. Simply use both disks as physical volumes for a LVM volume group and create a LVM logical volume with the correct redundancy and striping when setting ...


0

Due to the age of this question, it may be safe to assume the system's been rebooted. However, there's another way to trigger a re-scan of the either the entire SCSI bus or just the device itself. Re-Scan the entire SCSI bus echo "- - -" > /sys/class/scsi_host/host0/scan Re-Scan just the device itself echo 1 > /sys/class/scsi_device/0:0:0:0/rescan ...


3

Brandan Gregg has made a number of visual diagrams of which tool to use on what part of your system that make really nice cheat sheets: Tools: Which options to use in sar to monitor: And closely related: Translate observations into tuning with:


0

I want to add some tool to helps for get accurate result 1.Lsof 2.Psacct or Acct – Monitor User Activity 3.Monit – Linux Process and Services Monitoring 4.NetHogs 5.Monitorix – System and Network Monitoring 6.Arpwatch – Ethernet Activity Monitor 7.Suricata – Network Security Monitoring 8.VnStat PHP – Monitoring Network Bandwidth 9.Nagios – ...


1

If your system is hung and doesn't boot you can view the POST logs in BIOS. For that press "F1" at boot and go to the "System event logs" option. If you want to check the logs while your system is up and running you have to login to the IMM. You open the IMM IP in a browser, login with your credentials and then go to the "Event log" page. There are some ...


0

An average queue size of more than 1,000 requests is trouble unless you are running an array with hundreds of disks exposed as a single device. From your graph however I would argue that most of your spikes are either measurement or graphing artefacts - your data looks like it is being collected in 5-minute intervals, yet the spikes do have a width of ...


1

Yes, I know what metric avggu-sz means That means you know that generally data flows like this app --> bio layer --> I/O Scheduler --> Driver --> Disks nr_requests queue_depth This is just a general overview and not covering everything.As long as nr_requests remains the ...


1

According to the kernel.org RAID wiki: After the new disk was partitioned, the RAID level 1/4/5/6 array can be grown that is, RAID-0 is not eligible for growing. You will need to backup all the data, recreate the array from scratch, and restore from backups.


0

You are out of luck. The disks that you're trying to put in are not the ones that came with the DS4100 back when it was still for sale. You can try to find the part numbers for the disks that were sold for the system and try to find a place you can still buy them, but this system is so old that I wouldn't recommend it. Just cut your losses and replace this ...



Top 50 recent answers are included