I can't seem to be able to access my 2nd drive after reboot.

Glinoth

Active Member
Feb 9, 2019
5
0
41
39
So I install proxmox a while ago. It works fine even updated it, etc. I have 3 servers remote for learning / having fun with nothing professional, etc.

My third box on the datacenter after a reboot lost contact with the 2nd drive sort of... I can't access it when adding a new container / vm nor can I delete old containers. I think I think I derped up maybe don't have the drive auto starting correctly.

Via Proxmox it says it's /dev/sdb and the health is great. I used fdisk via ssh to the same location and showed the correct info.

I guess from here as I'm quite a indeterminate I'm wondering how I can jump start it again. There is no sensitive data so I don't mind losing it on that disk.

Thanks!
 
what kind of storage did you put on that disk (lvm, lvmthin, filesystem, etc. )?
did you forget to add the storage definiton to pve (only creating a filesystem eg. is not enought, proxmox ve has to know about it)
 
what kind of storage did you put on that disk (lvm, lvmthin, filesystem, etc. )?
did you forget to add the storage definiton to pve (only creating a filesystem eg. is not enought, proxmox ve has to know about it)
Thanks for getting back to me. I did this a very very long time ago. From what I recall the Promox is installed on a old HD and the SD was added in as a second drive.

I ran these commands via it's history:
Code:
    1  top
    2  pvecm add 192.168.1.31
    3  pvecm add 192.168.1.31
    4  pvceate /dev/sdb
    5  pvcreate /dev/sdb
    6  df -h
    7  df
    8  lsblk
    9  zpool create -f server3ssd /dev/sdb
   10  sudo zpool create -f server3ssd /dev/sdb
   11  zpool create -f server3ssd /dev/sdb
   12  zpool create -f myzpool /dev/sdb
   13  /sbin/modprobe zfs
   14  zpool create -f server3ssd /dev/sdb
   15  cat /etc/pve/storage.cfg
   16  nano /etc/pve/storage.cfg
   17  pvecreate /dev/sdb
   18  pvcreate /dev/sdb
   19  frisk -l
   20  fdisk -l
   21  fdisk -1
   22  fdisk -l
   23  fdisk /dev/sdb
   24  fdisk /dev/sda
   25  fdisk /dev/sdb
   26  fdisk /dev/sdb
   27  fdisk /dev/sdb
   28  history
   29  fdisk /dev/sdb
   30  pvcreate /dev/sdb
   31  fdisk /dev/sdb
   32  p
   33  fdisk /dev/sdb
   34  pvcreate /dev/sdb
   35  pv
   36  nano /etc/lvm/lvm.conf
   37  nano /etc/lvm/lvm.conf
   38  cfdisk /dev/sdb
   39  pvcreate /dev/sdb1
   40  cfdisk /dev/sdb
   41  pvcreate /dev/sdb1
   42  vgcreate small-ssd2 /dev/sda1
   43  vgcreate small-ssd3 /dev/sda1
   44  vgcreate small-ssd3 /dev/sda3
   45  cfdisk /dev/sdb1
   46  cfdisk /dev/sdb
   47  pvcreate /dev/sdb
   48  pvcreate /dev/sdb1
   49  fdisk -l
   50  pvcreate /dev/sdb
   51  pvcreate /dev/sdb
   52  cfdisk /dev/sdb
   53  pvcreate /dev/sdb
   54  pvcreate -vvv /dev/sdb
   55  pvcreate -vvv /dev/sdb1
   56  vgcreate small-ssd3 /dev/sdb1
   57  cd /var/lib/vz/template/iso/
   58  ll
   59  wget dfsd
   60
   61  ll
   62  dir
   63  cd /var/lib/vz/template/iso
   64  wget REMOVED LINK DUE TO FORUMS ANTI SPAM
   65  history
   66  nano /etc/apt/sources.list
   67  apt-get update && apt-get dist-upgrade
   68  nano /etc/apt/sources.list
   69  apt-get update
   70  nano /etc/apt/sources.list
   71  apt-get update && apt-get dist-upgrade
   72  rm -f /etc/apt/sources.list.d/pve-enterprise.list
   73  apt-get update && apt-get dist-upgrade
   74  nano /etc/apt/sources.list
   75  apt-get update && apt-get dist-upgrade
   76  root
   77  ll
   78  history
   79  history
   80  fdisk -1
   81  pvcreate /dev/sdb
   82  pvcreate /dev/sda
   83  pvcreate /dev/sda3
   84  cfdisk /dev/sda3
   85  mount -a
   86  mount
   87  ls
   88  ll
   89  dir
   90  ls /mnt/
   91  ls /
   92  pvcreate /dev/sdb
   93  pvcreate /dev/sda3
   94  df -hP
   95  fuser -m -v /dev/sda3
   96  pvscan
   97  vgscan
   98  lvscan
   99  vgcreate myvolgroup /dev/sda3
  100  zpool create -f myzpool /dev/sda3
  101  vgcreate small-ssd3 /dev/sdb1
  102  /sbin/modprobe zfs
  103  fdisk /dev/sdb
  104  pvcreate /dev/sdb
  105  dmsetup ls
  106  cfdisk
  107  history
  108  cfdisk /dev/sdb
  109  pvcreate /dev/sdb
  110  grep filter /etc/lvm/lvm.conf
  111  cfdisk /dev/sdb
  112  cfdisk /dev/sdb2
  113  pvcreate --metadatasize 250k -y -ff /dev/sdb2
  114  pvcreate --metadatasize 250k -y -ff /dev/sdb
  115  cfdisk /dev/sdb
  116  history
  117  history


As you can see I was derpy and not doing things right. In a perfect world I would do a fresh start but I feel like I have not compromised the OS itself was even able to update it. Just the darn SSD I can't see to be able to attach to it.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!