$ if [ false ]; then echo "That was a true statement"; fi
Compare cert salaries and plan your next career move
Clevernamehere wrote: » I'm thinking something to do with fdisk not being able to create partitions over 2TB?
onesaint wrote: » # df -i would give you node info (I just used it the other day when a server went RO for no reason!). I've got (maybe an easy) one for you all: Let's say I accidentally did an rm -rf on ../httpd/access_log but I still need the file. Is it recoverable? If so, how?
W Stewart wrote: » This guide can give you an idea of how it can be accomplished with lsof.Linux.com :: Bring back deleted files with lsof
W Stewart wrote: » I've got a 3TB harware RAID 1 volume. I can view the drive with parted -l but not with fdisk -l . Why is that?
parted -l
fdisk -l
W Stewart wrote: » Nobody has answered it yet so I'm just going to say yes it's possible to recover the file as long as apache hasn't been restarted. I tried deleteing a log file on a customers server that was taking up a lot of space and even though the file was gone the disk space wasn't returned to the server. It turned out it was because apache still had the file open in memory and it needed to be restarted. What I just read a few days ago gave me an explanation as to why that happens and it's because the file is still open in the proc filesystem. This guide can give you an idea of how it can be accomplished with lsof.Linux.com :: Bring back deleted files with lsof
ChooseLife wrote: » Because 2Tb+ partitions require GPT, which is supported by parted, but not supported by fdisk.
[root@centos ~]# df -h /u01 Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_data-u01 2.0G 35M 1.9G 2% /u01 [root@centos ~]#
UnixGuy wrote: » Is there a way that we can do this online (without unmounting?)
ChooseLife wrote: » Good question! I did not think online resizing was possible, so had to do some search...
UnixGuy wrote: » I don't think I'll do it online in a production system though
ChooseLife wrote: » Time to revive this thread... Let's get it up and running....Question: What is the difference between "UP" and "RUNNING" flags of a network interface in Linux? (As shown in the output of ifconfig, netstat, etc)
onesaint wrote: » "Running" means the interface is available to be configured
onesaint wrote: » while "up" means the interface is configured and activated.
ChooseLife wrote: » What would make an interface to be not available for configuring?
ChooseLife wrote: » What is the definition of "activated" here?
# free -m total used free shared buffers cached Mem: 1999 1900 99 0 98 1315 -/+ buffers/cache: 486 1512 Swap: 4095 0 4095
UnixGuy wrote: » So I can see if there's any particular user/process that's eating up resources.
UnixGuy wrote: » I think the kernel uses the memory sometimes to make things faster.
UnixGuy wrote: » I don't know how to free up the memory though (apart from a reboot)
ChooseLife wrote: » In this case top/sar will show that there is no process taking large amount of memory. Overall system performance is good.
UnixGuy wrote: » @onesaint: Interesting question. I just want to know, what do you mean by "from baseline" ? is that the average memory usage that you observed over a certain period of time?
Compare salaries for top cybersecurity certifications. Free download for TechExams community.