Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

When was "lvextend" command run last, logs that give these details?

Featured Replies

Hello Friends,
There is a requirement from Client to not run lvextend command if it was run in last 24 hrs.
I have tried the following and still havent figured out how to do it, any help will be highly appreciated:
1.] Have tried checking /var/log/messages, dmesg command logs. There are no kern.logs in the server so cannot check that as well.
2.] There is no /var/log/syslog so cannot check that. Also cannot activate logging by modifying lvm2.conf file as there are many servers.
3.] 'history' command only displays 10 commands and that too from current tty.

 

If there are any files which gets added with any volume group changes information please suggest.

Please suggest how I can capture when a particular command especially "lvextend" was run last?

Thanking You,
Karthik R

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.