FYI Incredible PBX 13-13.10

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Any plans for a new release for Raspberry Pi? Any potential upgrade from 13-13.7?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Actually built all of this "on the road" with a 10" monitor and a really lousy keyboard. Goes to show how versatile a Raspberry Pi really is.

D1P5raPXgAAeL4Y.jpg
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Quite impressive - thank you so much. Actually while you were busy putting this together, I just followed your previous piece of advice as in http://nerdvittles.com/?p=27870. That worked swell too...

One suggestion though would be to leave all trunks disabled as they previously were in new installs. In my case, I already had the Skytel trunks on a different Raspi so I had to go in and disable them for further testing.

For the last two + years I'm using SSD drives (32GB from Amazon.) Well, yes they're USB 3.0, but the day when RasPi will support them is just getting closer - the optimist in me :). Now for those drives the raspi-config -> Expand FileSystem doesn't work (this is the message: "sda2 is not an SD card. Don't know how to expand".)

Following is the detailed procedure to expand the file system on the SSD drive (it works the same way on a locally built CentOS system, not the cloud ones:

root@incrediblepbx:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 29.3G 0 disk
sda2 8:2 0 29.3G 0 part /
sda1 8:1 0 41.7M 0 part /boot

root@incrediblepbx:~# fdisk -u /dev/sda

Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/sda: 29.3 GiB, 31488000000 bytes, 61500000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x916478d8

Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 93596 85405 41.7M c W95 FAT32 (LBA)
/dev/sda2 94208 7634943 7540736 3.6G 83 Linux

Command (m for help): d
Partition number (1,2, default 2):

Partition 2 has been deleted.

Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2):
First sector (2048-61499999, default 2048): 94208
Last sector, +sectors or +size{K,M,G,T,P} (94208-61499999, default 61499999):

Created a new partition 2 of type 'Linux' and of size 29.3 GiB.

Command (m for help): p
Disk /dev/sda: 29.3 GiB, 31488000000 bytes, 61500000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x916478d8

Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 93596 85405 41.7M c W95 FAT32 (LBA)
/dev/sda2 94208 61499999 61405792 29.3G 83 Linux

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

After reboot:

root@incrediblepbx:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.6G 3.2G 191M 95% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6.3M 458M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/sda1 42M 22M 20M 53% /boot

root@incrediblepbx:~# resize2fs /dev/sda2
resize2fs 1.43.3 (04-Sep-2016)
Filesystem at /dev/sda2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 4
The filesystem on /dev/sda2 is now 7675724 (4k) blocks long.

root@incrediblepbx:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 3.2G 25G 12% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6.3M 458M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/sda1 42M 22M 20M 53% /boot

That's it - certainly the device may have a different name and the first sector of the partition may be different (as reflected in the p - print command)

Thank you again for all the hard work that goes into keeping us all up-to-date.
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,199
Latest member
leocipriano
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top