Should have worked. You can try the following login as root cd /quadstor/pgsql/bin su scdbuser ./psql qsdb
Now in the psql shell you can run the sql commands directly For example select * from physstor; select * from tdisk; Or to delete the disk, vdisk etc. delete from physstor where bid=3; delete from tdisk where name=VD02; delete from storagegroup where name=VP02; ctrl+d service quadstor restart On Wed, Apr 12, 2017 at 3:19 PM, Dmitry Polezhaev <dp1...@i.ua> wrote: > On Tuesday, April 11, 2017 at 9:52:17 PM UTC+3, quadstor wrote: >> >> See the attached script for querying the database. > > > Seems the script has wrong references to user, which is allowed to edit > database... > root@labstor01:/tmp# ./deldisk.sh > psql: FATAL: role "root" does not exist > psql: FATAL: role "root" does not exist > Broken pipe > psql: FATAL: role "root" does not exist > Broken pipe > > The runuser folder exists, the password for runuser is empty > root@labstor01:/tmp# ls /sbin/runuser > /sbin/runuser > root@labstor01:/tmp# su runuser > No passwd entry for user 'runuser' > > > > -- > You received this message because you are subscribed to the Google Groups > "QUADStor Storage Virtualization" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to quadstor-virt+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "QUADStor Storage Virtualization" group. To unsubscribe from this group and stop receiving emails from it, send an email to quadstor-virt+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.