Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

소드락 스토리지 바꾸기 #26

Open
simnalamburt opened this issue Aug 31, 2017 · 2 comments
Open

소드락 스토리지 바꾸기 #26

simnalamburt opened this issue Aug 31, 2017 · 2 comments

Comments

@simnalamburt
Copy link
Member

simnalamburt commented Aug 31, 2017

디스크 실패가 우려된다. 스토리지를 바꿔주자. 실 사용 용량이 별로 크지 않으므로, 서버별로 SSD를 두개씩 사서 RAID를 구성해주자. 다들 여유 PCIe 슬롯이 있으므로, M.2 확장슬롯을 사서 NVMe SSD를 두개 꽂자.

소드락

$ lsblk -o NAME,SIZE,MOUNTPOINT,MODEL
NAME     SIZE MOUNTPOINT MODEL
sda    465.8G            ST500DM002-1BD14
├─sda1 457.8G /
├─sda2     1K
└─sda5     8G [SWAP]
sdb    931.5G            WDC WD10EACS-00D

$ df -h --output
Filesystem     Type     Inodes IUsed IFree IUse%  Size  Used Avail Use% Mounted on
...
/dev/sda1      ext4        29M  3.2M   26M   12%  451G   88G  340G  21% /
/dev/sdb1      ext3        59M  3.7M   55M    7%  917G  107G  765G  13% /home
...

$ sudo dmidecode --type baseboard
...
Base Board Information
        Manufacturer: Dell Computer Corporation
        Product Name: 0RH817
...

$ sudo hdparm -i /dev/sda /dev/sdb; sudo smartctl -i /dev/sda; sudo smartctl -i /dev/sdb

/dev/sda:

 Model=ST500DM002-1BD142, FwRev=KC45, SerialNo=Z2AS4STY
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=8
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-4,5,6,7

 * signifies the current active mode


/dev/sdb:

 Model=WDC WD10EACS-00D6B0, FwRev=01.01A01, SerialNo=WD-WCAU40892045
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=8
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode

smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-124-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST500DM002-1BD142
Serial Number:    Z2AS4STY
LU WWN Device Id: 5 000c50 04086efeb
Firmware Version: KC45
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Dec 17 02:15:04 2024 KST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-124-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD10EACS-00D6B0
Serial Number:    WD-WCAU40892045
LU WWN Device Id: 5 0014ee 25707b6a3
Firmware Version: 01.01A01
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.5, 3.0 Gb/s
Local Time is:    Tue Dec 17 02:15:04 2024 KST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

$ sudo dmidecode -t slot
...
Handle 0x0900, DMI type 9, 13 bytes
System Slot Information
        Designation: SLOT_1
        Type: 64-bit PCI-X
        Current Usage: Available
        Length: Short
        ID: 1
        Characteristics:
                3.3 V is provided
                PME signal is supported

Handle 0x0901, DMI type 9, 13 bytes
System Slot Information
        Designation: SLOT_2
        Type: x8 PCI Express
        Current Usage: Available
        Length: Short
        ID: 2
        Characteristics:
                3.3 V is provided
                PME signal is supported
...
  • 기존 스토리지
    • ST500DM002-1BD14: 470GiB SATA HDD, 2011년 모델, 워런티 기간: 2년
    • WDC WD10EACS-00D: 932GiB SATA HDD, 2007년 모델, 워런티 기간: 1년
  • 실제 사용중인 용량은 88GiB, 107GiB
  • NVMe 슬롯 없음
  • x8 PCI Express 슬롯 하나 비어있음
  • /dev/sdb1의 경우 ext4 로 업그레이드할 필요가 있음

에델브로이

$ lsblk -o NAME,SIZE,MOUNTPOINT,MODEL
NAME                       SIZE MOUNTPOINT MODEL
sda                      119.2G            Samsung_SSD_840_PRO_Series
├─sda1                     512M /boot/efi
├─sda2                     488M /boot
└─sda3                   118.3G
  ├─edhelbroy--vg-root   117.3G /
  └─edhelbroy--vg-swap_1   980M [SWAP]

$ df -h --output
Filesystem                     Type     Inodes IUsed IFree IUse%  Size  Used Avail Use% File Mounted on
...
/dev/mapper/edhelbroy--vg-root ext4       7.4M  395K  7.0M    6%  115G   66G   44G  60% -    /
/dev/sda2                      ext2       122K   347  122K    1%  471M   86M  361M  20% -    /boot
/dev/sda1                      vfat          0     0     0     -  511M  5.8M  506M   2% -    /boot/efi
...

$ sudo dmidecode --type baseboard
...
Base Board Information
        Manufacturer: BIOSTAR Group
        Product Name: TH67B
...

$ sudo hdparm -i /dev/sda; sudo smartctl -i /dev/sda

/dev/sda:

 Model=Samsung SSD 840 PRO Series, FwRev=DXM06B0Q, SerialNo=S1APNSAF711660L
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=250069680
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-2,3,4,5,6,7

 * signifies the current active mode

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-23-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 840 PRO Series
Serial Number:    S1APNSAF711660L
LU WWN Device Id: 5 002538 5a027ffb5
Firmware Version: DXM06B0Q
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Dec 17 02:13:45 2024 KST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
  • 기존 스토리지
    • Samsung_SSD_840_PRO_Series: 119.2GiB SATA SSD, 2012년 모델, 5년 워런티
  • 실제 사용중인 용량은 66GiB
  • NVMe 슬롯 없음
  • PCIe 3.0 x16 슬롯, PCIe 2.0 x16 슬롯, PCIe 2.0 x1 슬롯, PCI 슬롯 총 네개 비어있음

TODO

@simnalamburt simnalamburt changed the title 소드락, 제미니 스토리지 바꾸기 소드락 스토리지 바꾸기 Apr 6, 2020
@simnalamburt
Copy link
Member Author

제미니는 퇴역하였으므로 제목을 바꿈

@simnalamburt simnalamburt added this to the 2024 하반기 milestone Oct 19, 2024
@simnalamburt
Copy link
Member Author

생각해보니 PCIe - M.2 확장슬롯을 써서 NVMe를 꽂으면 됨, 여유 PCIe 슬롯과 PCIe 버전 확인 필요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant