Expand an EXT4, on a SCSI device
If you have vmware ESXi or Microsoft Hyper-v, you can expand a disk, from the hypervisor console, very simple. But afterwards the partition the servers is not expand.It is always a good idea to...
Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
If you have vmware ESXi or Microsoft Hyper-v, you can expand a disk, from the hypervisor console, very simple. But afterwards the partition the servers is not expand.It is always a good idea to...
You can use this command to see the status of the Raid Controller and Raidset.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
Generating detailed summary of the adapter, it may take a while to complete. Controller = 0 Status = Success Description = None Product Name = Intel(R) RAID Controller RS3DC080 Serial Number = SK94678290 SAS Address = 500605b00f7ef7e0 PCI Address = 00:b5:00:00 System Time = 03/18/2022 15:44:57 Mfg. Date = 11/24/19 Controller Time = 03/18/2022 15:44:29 FW Package Build = 24.21.0-0126 BIOS Version = 6.36.00.3_4.19.08.00_0x06180203 FW Version = 4.680.00-8519 Driver Name = lsi-mr3 Driver Version = 7.702.13.00 Current Personality = RAID-Mode Vendor Id = 0x1000 Device Id = 0x5D SubVendor Id = 0x8086 SubDevice Id = 0x9360 Host Interface = PCI-E Device Interface = SATA-3G Bus Number = 181 Device Number = 0 Function Number = 0 Drive Groups = 1 TOPOLOGY : ======== ----------------------------------------------------------------------------- DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace TR ----------------------------------------------------------------------------- 0 - - - - RAID5 Optl N 5.451 TB dflt N N dflt N N 0 0 - - - RAID5 Optl N 5.451 TB dflt N N dflt N N 0 0 0 252:4 8 DRIVE Onln N 930.390 GB dflt N N dflt - N 0 0 1 252:5 9 DRIVE Onln N 930.390 GB dflt N N dflt - N 0 0 2 252:6 10 DRIVE Onln N 930.390 GB dflt N N dflt - N 0 0 3 252:7 11 DRIVE Onln N 930.390 GB dflt N N dflt - N 0 0 4 252:0 15 DRIVE Onln N 930.390 GB dflt N N dflt - N 0 0 5 252:1 12 DRIVE Onln N 930.390 GB dflt N N dflt - N 0 0 6 252:2 13 DRIVE Onln N 930.390 GB dflt N N dflt - N ----------------------------------------------------------------------------- DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=Degraded Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present TR=Transport Ready Virtual Drives = 1 VD LIST : ======= ------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name ------------------------------------------------------------- 0/0 RAID5 Optl RW Yes RWBD - ON 5.451 TB ------------------------------------------------------------- EID=Enclosure Device ID| VD=Virtual Drive| DG=Drive Group|Rec=Recovery Cac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked| Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack| AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled Check Consistency Physical Drives = 8 PD LIST : ======= ------------------------------------------------------------------------------------- EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type ------------------------------------------------------------------------------------- 252:0 15 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 870 QVO 1TB U - 252:1 12 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 870 QVO 1TB U - 252:2 13 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 870 QVO 1TB U - 252:3 14 UGood - 930.390 GB SATA SSD N N 512B Samsung SSD 870 QVO 1TB U - 252:4 8 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 860 EVO 1TB U - 252:5 9 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 860 EVO 1TB U - 252:6 10 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 860 EVO 1TB U - 252:7 11 Onln 0 930.390 GB SATA SSD N N 512B Samsung SSD 860 EVO 1TB U - ------------------------------------------------------------------------------------- EID=Enclosure Device ID|Slt=Slot No.|DID=Device ID|DG=DriveGroup DHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global Hotspare UBad=Unconfigured Bad|Onln=Online|Offln=Offline|Intf=Interface Med=Media Type|SED=Self Encryptive Drive|PI=Protection Info SeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=Foreign UGUnsp=Unsupported|UGShld=UnConfigured shielded|HSPShld=Hotspare shielded CFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback Shielded Cachevault_Info : =============== --------------------------------------------------------- Model State Temp Mode MfgDate Next Learn --------------------------------------------------------- CVPM02 Optimal 23C - 2020/04/09 2022/03/31 00:41:59 --------------------------------------------------------- |
Here you can see under PD List, that drive 252:3 14 stand as UGood. Thats the new disk...
If you have a host with multiple IP address on it, and you need to change witch IP address it present it with on the Internet, you can change the Default IP address, by...
To show the queue in sophus, from CLI type:
1 |
chroot /var/storage/chroot-smtp /bin/exim -bp |
To delete a specific mail type
1 |
chroot /var/storage/chroot-smtp /bin/exim -Mrm {mailid} |
example:
1 |
chroot /var/storage/chroot-smtp /bin/exim -Mrm 1daHZv-000EaR-0A |
To see how many mails, there are in queue, you can type:
1 |
chroot /var/storage/chroot-smtp /bin/exim -bpc |
When you start the Linux OS – OSCore, from the bootable ISO file, you will just the a prompt. To Install it, i following these steps First we needed to be root
1 |
sudo su |
Then...
How to generate a CSR in Tomcat with Keytool Create a New Keystore You will need to create a new Keystore, this is done by this command:
1 |
keytool -genkey -alias domainname.prefix -keyalg RSA -keysize 2048 -keystore /path/domainname.prefix.jks |
When the commands ask for the...
Rescan for new disk with this command echo “- – -” > /sys/class/scsi_host/host#/scan
If you want to delete all mails from a specific mails from a sender / recieptment domain You can use this command:
1 |
mailq | tail -n +2 | grep -v '^ *(' | gawk 'BEGIN {RS = ""} /@kennethdalbjerg.dk/ {print $1}' | tr -d '*!' | postsuper -d - |
This will delete all mails sent to or from kennethdalbjerg.dk domain.
Errors like this: /opt/CA/ABuagent/uagentsetup: 74: [: -e: unexpected operator /opt/CA/ABcmagt/caagent: 60: cd: can’t cd to /nls /opt/CA/ABcmagt/caagent: 60: cd: can’t cd to /nls /opt/CA/ABcmagt/caagent: 60: cd: can’t cd to /nls /opt/CA/ABcmagt/aglang_setup: 60: [: -e:...
First you need to install Windows 7, and safeboot / Mcafee endpoint protection. Then you need to take a backup of the MBR, this is done with a Ubuntu live cd, run this commands:...
Sidste kommentar