-
Notifications
You must be signed in to change notification settings - Fork 13
6. OX Logs
OX creates a log file in the startup and writes to it during the runtime. Read the file /var/log/syslog to check the log. After OX startup you should get a log as follow (in OX v1.4):
<date>: [nvm: OX Controller is starting...]
<date>: [nvm: Media Manager registered: DFC_NAND]
<date>: [nvm: FTL Queue (/nvm_mq0) started.]
<date>: [nvm: FTL Queue (/nvm_mq1) started.]
<date>: [nvm: FTL Queue (/nvm_mq2) started.]
<date>: [nvm: FTL Queue (/nvm_mq3) started.]
<date>: [nvm: FTL Queue (/nvm_mq4) started.]
<date>: [nvm: FTL Queue (/nvm_mq5) started.]
<date>: [nvm: FTL Queue (/nvm_mq6) started.]
<date>: [nvm: FTL Queue (/nvm_mq7) started.]
<date>: [nvm: FTL (FTL_LNVM)(1) registered.]
<date>: [FTL_LNVM cap: Get Bad Block Table]
<date>: [FTL_LNVM cap: Set Bad Block Table]
<date>: [FTL_LNVM Bad block table type: Byte array. 1 byte per blk.]
<date>: [lnvm: channel 0 started with 5 bad blocks.
<date>: [lnvm: channel 1 started with 5 bad blocks.
<date>: [lnvm: channel 2 started with 5 bad blocks.
<date>: [lnvm: channel 3 started with 5 bad blocks.
<date>: [lnvm: channel 4 started with 5 bad blocks.
<date>: [lnvm: channel 5 started with 5 bad blocks.
<date>: [lnvm: channel 6 started with 5 bad blocks.
<date>: [lnvm: channel 7 started with 5 bad blocks.
<date>: [pci: outbound addr: 0x1400000000 host size: 0x200000000]
<date>: [pci: host io_mem_addr : 0xfffd77800000]
<date>: [pci: host msix_mem_addr : 0xffff91a2f000]
<date>: [pci: bar4:0xfffd777e0000 icr:0xfffd777e8004 table_sz:0xfffd777e8008 csr:0xfffd777e8000 table:0xffff7c212000
<date>: [nvm: PCI Handler registered: PCI_LS2085]
<date>: [pci: NVMe thread alive.]
<date>: [lnvm: Channels: 1]
<date>: [lnvm: LUNs per Channel: 32]
<date>: [lnvm: Blocks per LUN: 1024]
<date>: [lnvm: Pages per Block: 512]
<date>: [lnvm: Planes: 2]
<date>: [lnvm: Total Blocks: 32768]
<date>: [lnvm: Reserved/Bad Blocks: 40]
<date>: [lnvm: Total Pages: 33554432]
<date>: [lnvm: Page size: 16384 bytes]
<date>: [lnvm: Plane Page size: 32768 bytes]
<date>: [lnvm: Total: 524288 MB]
<date>: [lnvm: Total Available: 523648 MB]
<date>: [nvm: LightNVM is registered]
<date>: [nvm: NVME standard registered]
<date>: [nvm: OX Controller ready.]
<date>: [nvm: Active pci handler: PCI_LS2085]
<date>: [nvm: 1 media manager(s) up, total of 8 channels]
<date>: [channel: 0, FTL id: 1 ns_id: 1, ns_part: 0, pg: 4194304, in_use: 60]
<date>: [channel: 1, FTL id: 1 ns_id: 1, ns_part: 1, pg: 4194304, in_use: 60]
<date>: [channel: 2, FTL id: 1 ns_id: 1, ns_part: 2, pg: 4194304, in_use: 60]
<date>: [channel: 3, FTL id: 1 ns_id: 1, ns_part: 3, pg: 4194304, in_use: 60]
<date>: [channel: 4, FTL id: 1 ns_id: 1, ns_part: 4, pg: 4194304, in_use: 60]
<date>: [channel: 5, FTL id: 1 ns_id: 1, ns_part: 5, pg: 4194304, in_use: 60]
<date>: [channel: 6, FTL id: 1 ns_id: 1, ns_part: 6, pg: 4194304, in_use: 60]
<date>: [channel: 7, FTL id: 1 ns_id: 1, ns_part: 7, pg: 4194304, in_use: 60]
<date>: [nvm: namespace size: 549755813888 bytes]
<date>: [nvm: total pages: 33554432]
Created by Ivan L. Picoli
Home
1.1 Introduction (OX v1.4)
1.2 Introduction (OX v2.x)
2. Open Channel SSDs
3. LightNVM
4. OX Controller
4.1. OX Libraries (OX v2.x)
4.2. The LNVM FTL (OX v1.4)
4.3. DFC Implementation
4.4. I/O Flow (OX v1.4)
4.5. OX Installation
5.1. OX Commands (OX v1.4)
5.2. OX Commands (OX v2.x)
6. OX Logs
7. OX-App: A Framework for Application-specific FTLs
7.1. OX-Block: The AppNVM full-fledged FTL
7.1.1. Overview
7.1.2. Bad Block Table
7.1.3. Block Metadata
7.1.4. Provisioning
7.1.5. Logical/physical mapping
7.1.6. Back-end PPA I/O
7.1.7. Front-end LBA I/O
7.1.8. Garbage collection
7.1.9. GC configuration